Bruno Posted January 9, 2005 Share Posted January 9, 2005 Man . . . these are mysteries !!! . . . # fdisk -l /dev/hda Let me see that foolish disk ;) Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 [root@chello084010044003 guest]# fdisk -l /dev/hdaDisk /dev/hda: 40.0 GB, 40007761920 bytes255 heads, 63 sectors/track, 4864 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 * 1 63 506016 82 Linux swap/dev/hda2 64 4863 38556000 f Win95 Ext'd (LBA)/dev/hda5 64 2485 19454683+ 83 Linux/dev/hda6 2551 4863 18579141 7 HPFS/NTFS[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 I have found it !!! . . hda6 is not bootable !! . . ( the SWAP is bootable B) )Give me 10 minutes to write down the commands for youB) Bruno Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Careful Gaucho ! Here they are: # fdisk /dev/hda Press the a keyPress the 1 key ( number ONE !! )Press the a key againPress the 6 key ( number SIX )Press the w keyThen show me again # fdisk -l /dev/hda Bruno Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 9, 2005 Share Posted January 9, 2005 table=/dev/hda needs to be table=/dev/hda2 That should make windows bootable. Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 take your time Bruno.the most important thing is to get it to work.in the mean time i play around with the termianl a little bit zipping unzipping creating removing training files Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 table=/dev/hda needs to be table=/dev/hda2 That should make windows bootable. ??? hda2 is the extended one !! . . . but hda6 has no "*" . . . that is what it needs as far as I know !Gaucho the instructions are posted above ;) Bruno Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 9, 2005 Share Posted January 9, 2005 Whoops... my mistake. It then needs to read table=/dev/hda6 My eyes must be getting old. Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Whoops... my mistake. It then needs to read table=/dev/hda6 My eyes must be getting old. That is what we did . . but got errors writing lilo . . . because hda6 is not bootable !!!! Bruno Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Here are the commands Gaucho: # fdisk /dev/hda Press the a keyPress the 1 key ( number ONE !! )Press the a key againPress the 6 key ( number SIX )Press the w keyThen show me again # fdisk -l /dev/hda Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 [root@chello084010044003 guest]# fdisk /dev/hdaThe number of cylinders for this disk is set to 4864.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): aPartition number (1-6): 1Command (m for help): aPartition number (1-6): 6Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table.The new table will be used at the next reboot.Syncing disks.[root@chello084010044003 guest]# fdisk -l /dev/hdaDisk /dev/hda: 40.0 GB, 40007761920 bytes255 heads, 63 sectors/track, 4864 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 63 506016 82 Linux swap/dev/hda2 64 4863 38556000 f Win95 Ext'd (LBA)/dev/hda5 64 2485 19454683+ 83 Linux/dev/hda6 * 2551 4863 18579141 7 HPFS/NTFS[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 LOOKING GOOD !!!Now try again: # /sbin/lilo Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 i got lost a little bit. .is it hda2 or 6? Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 It is hda6 !!! . . . . LOLJust run /sbin/lilo Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 still nothing i guess root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Fatal: Partition entry not found.[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Just reboot so the kernel can read the new partition table . . and do that command again Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 ok.brb Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 See you after the reboot ! Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 [root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Fatal: Partition entry not found.[root@chello084010044003 guest]#the same as before.even at the startup swap partition failed. Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 i didnt try to add this 3rd line once more after the first usuccesful attempt.is it ok? Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 A second shot: # fdisk /dev/hda Press the a keyPress the 1 key ( number ONE !! )Press the w keythen # fdisk -l /dev/hda AND after that remove that last line from /etc/lilo.conf again !!! ( table=/dev/hda ) # kwrite /etc/lilo.conf Reboot and try again # /sbin/lilo Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 [root@chello084010044003 guest]# fdisk /dev/hdaThe number of cylinders for this disk is set to 4864.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): aPartition number (1-6): 1Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table.The new table will be used at the next reboot.Syncing disks.[root@chello084010044003 guest]# fdisk -l /dev/hdaDisk /dev/hda: 40.0 GB, 40007761920 bytes255 heads, 63 sectors/track, 4864 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 * 1 63 506016 82 Linux swap/dev/hda2 64 4863 38556000 f Win95 Ext'd (LBA)/dev/hda5 64 2485 19454683+ 83 Linux/dev/hda6 * 2551 4863 18579141 7 HPFS/NTFS[root@chello084010044003 guest]# kwrite /etc/lilo.confLink points to "/tmp/ksocket-root"Link points to "/tmp/kde-root"kbuildsycoca running...KWrited - Listening on Device /dev/pts/5[root@chello084010044003 guest]# Mutex destroy failure: Device or resource busyICE default IO error handler doing an exit(), pid = 3753, errno = 2ICE default IO error handler doing an exit(), pid = 3759, errno = 0i removed the last line,the one that i added just a while before.should i reboot? Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Yep . . go for it !! Reboot . . . The kernel still uses the old table.The new table will be used at the next reboot. Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 [root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Added win_c[root@chello084010044003 guest]#now that looks much better Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 9, 2005 Share Posted January 9, 2005 Hooray! Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Good !!!NOW Reboot into WINDOWS . . ( sorry to see you go that way Gaucho ) Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 one short and hopefully easy question.how do i save the network configuration?every time i reboot i have to configure it all over again it doesnt take a lot of time but is quite a pain Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 It does NOT get saved ?? ???? . . . Strange !!Well, I want you first to try Windows . . and then we will see what we can do . . . :DB) Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 nope .windows still not bootable.at the menu i chose win c and the screen when dark with a prompt...also when starting linux it fails to enable swap partition . Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Ooooh . . that is a pitty !!For the /swap I need to see: # cat /etc/fstab But you could also start re-installing Windows . . because I need a 15 minutes tea break . . . or Adam should take over . . . . Anyway a re-onstall of Windows is needed . . nothing more I can fix from here :DB) Bruno Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.