Click to See Complete Forum and Search --> : changing from dual to single boot
beanmess
11-23-2000, 01:54 PM
I have a dual boot system right now. Windows on hda and Slackware 7.1 on hdc. The windows hard drive took a dump on me, so now I want to remove my hda hard drive and move my Slackware hard drive to the hda position (physically move the ide cable), but it is not working. The Slackware boot disk I made wants to boot my OLD root partition (hdc5) which is now hda5. I am on the verge of reformating. Thanks you.
kris
Unruly
11-23-2000, 03:35 PM
ermmm, try booting into slack and giving lilo a different HD address, like HDA or whatever you're going to be doing. Then make another boot disk with the proper hd location on it. (sorry this is so general, but the NHF's here should help you along, as I don't have a clue on the details.)
speck
11-23-2000, 05:13 PM
You need to edit the "/etc/lilo.conf" file and change "root=/dev/hdcx" to "root=/dev/hdax" where the "x" is the partition number of the hard drive (just leave the numbers the same.) You can remove the image section relating to the old windows drive. Run "lilo -v" and it will write a new boot loader to /dev/hda.
You also need to make similar changes to the "/etc/fstab" file. Basically, just change the filesystem section "/dev/hdcx" to "/dev/hdax" for your slackware partitions.
Of course, make backup copies of these files before you edit them.
Speck