Had Win2k, added Mandrake 8.0

Shaka

Senior member
Oct 13, 1999
608
0
0
Hi,

LILO overwrote the Win2k boot loader. I don't want this; I want to use the Win2k boot loader. Trying to learn something, I did some research on how to correct this.

First of all, I looked at my lilo.conf file and it says: boot=/dev/hda
The tutorial I followed said that this should not be. It should be: boot=/dev/hdc1, I think. Currently, root=/dev/hdc1 for my linux installation. So I suppose it should be: boot=/dev/hdc1?
My win2k is on /dev/hda1

So, given this information, I think I should do this:

0) boot into linux
1) alter lilo.conf so that boot=/dev/hdc1 instead of boot=/dev/hda
2) copy the lilo boot sector to floppy using:
dd if=/dev/hdc1 bs=512 count=1 of=/mnt/floppy/linux.bin
3) use win2k boot cd to repair MBR so it's NTloader and not LILO
4) reboot to win2k
5) copy linux.bin to the root directory of hda1
6) alter boot.ini by adding the line: c:\linux.bin="Mandrake 8.0"

Are these steps correct? Please correct any steps if they are wrong. I want make sure my steps are correct so I don't ruin my perfectly fine Win2k installation.
 

Crazymayhem

Junior Member
Apr 13, 2001
9
0
0
Yah, correct, just dont forget to reinstall LILO again once you switch over the partition its sposed to use, else itll still continue on the same.
 

Crazymayhem

Junior Member
Apr 13, 2001
9
0
0
Ok, you installed LILO first time around, and it installed in your MBR, where your win2k bootloader used to be. Ya dont want that anymore so your editing your /etc/lilo.conf so that it installs in another boot sector. So youre going to have to reinstall it bye typing in /usr/sbin/lilo as root. Thatll reinstall yer LILO, and then you can copy out the boot sector and copy it over to windows.