Click to See Complete Forum and Search --> : dual boot


bluesky
08-21-2001, 11:13 PM
I have a dual boot win2k/redhat in one hard drive. Now, I add another hard drive and plan to move linux to the second drive.

LILO was originally installed in the boot partition of linux. I want to be able to delete linux in the master drive WITHOUT messing up the MBR. So please linux gurus, let me know how? uninstalling LILO first will it work?

trekker
08-22-2001, 01:07 AM
There are probably quite a few ways to do this :)

You can just boot up with your installation cds, go into the installation proggy and delete the linux partitions.
Then, boot up with your windows boot disk and type "fdisk /mbr" to restore your mbr (but I am not sure if this works with win2k rescue disk)

Else, you can also uninstall lilo first by "/sbin/lilo -u" at the command line as root. Then boot up to win2k (it should boot to that by default since lilo is removed) and use fips (should be on your linux cd) to delete the linux partitions.

After that, you can then reinstall linux on your new hard drive.

I have not tested these steps yet so please correct me if I wrong... :D I would suggest trying the 2nd option since I am not sure if the "fdisk /mbr" works with win2k

Hope this helps.. :)