Click to See Complete Forum and Search --> : Newbie Help..


X-treme
10-13-2001, 01:23 PM
I am fairly new to linux and I am not sure what needs to be done in the following scenario.

I have a Win98 machine with a main hard drive C. I added a hard drive D and installed RH7.1 on it. The machine dual boots using LILO. My question is I have recently aquired another system which I intend to move Win98 to and keep Linux on my current machine. I need to take drice C with Win98 and move it to the new system and take drive D and make it Drive C. How can I take a dual boot system with LILO and make it into a dedicated linux box without re-installing? Is it possible to just un-install lilo from the current drive C then move it to the other system and change drive D to C? or is there no way for me to accomplish this because of the MBR being located on the original win98 drive?

Thanks for your help!!

X-treme

Dark Ninja
10-13-2001, 02:04 PM
For a newbie question, that's a hard question. :D

Anyway - honestly - I'd just say to reinstall everything. Back up your current files and then just reinstall.

There probably is a way to do what you just described (there's almost ALWAYS a way with computers) but, it's probably more hassle than it's worth.


Dark Ninja

bdg1983
10-13-2001, 03:51 PM
Just make sure you have a working Linux bootdisk.

Remove drive 'C', move 'D' to where 'C' was, boot with the Linux bootdisk, edit /etc/lilo.conf and change the instances of hdb2 to hda2, change or add 'boot = /dev/hda ' as the first line and then run /sbin/lilo.

You will also need to modify /etc/fstab and make the changes there.

So what you need to accomplish to to modify the device designations in lilo.conf so when it is rewritten to disk, lilo will be installed in the mbr.

Another way would be to move the drive over and then set the Linux boot/root partition as active then you wouldn't need to install lilo in the mbr.

X-treme
10-13-2001, 05:39 PM
Thanks for the info guys. I would prefer to not have LILO installed in the MBR so I will give the second method a shot so I will boot right into RH7.1. If anyone has any other suggestions or methods please let me know I would like to do this ASAP but will wait until tomorrow to see if anyone else has any other ideas.

Thanks again!!

X-treme