Page 1 of 1

[lilo]:loading three OS.

Posted: Tue Apr 25, 2006 1:18 am
by cheikhbouchihda
Good morning to every body from France,
I have, two(2) hards drive in my computer:
->hd0(hda), Master, where it is installed Windows XP and Mandriva 2006.
->hd1(hdb), Slave, where it is installed the Debian 3.1(Sarge).
The problem is:

1°) "The lilo" of Mandriva, which is installed in /dev/hda1, load only Windows XP and Mandriva, but not the Debian and if I want to have the Debian, I must go to the bios, and choose hd1 as second boot device(the first is the cdrom).
2°) "The lilo"of Debian, which is installed in /dev/hdb1, load only the Debian and only the Debian, not even Windows XP........and I've tried, before the installation of Mandriva,......this lilo, load only the Debian!!

Anaway, if I want to have Windows and Mandriva, I'll go to the bios and choose hd0 as second boot device.
My question is as fellows:
What must I do(which configuration...), so I can get the three OS(Windows XP, Mandriva 2006 and Debian sarge) loading by the same loader(lilo)?
Thanks in advance for the help :)

Posted: Tue Apr 25, 2006 1:30 am
by timvw
Right now you've installed your bootloader in a partition, you can also install it in the mbr if your root partition /dev/hda.. Which would allow you to boot from any partition from there... (Search for lilo tutorial or howto).

Posted: Tue Apr 25, 2006 8:28 am
by Maugrim_The_Reaper
I use grub, but presumably you may need to edit the config file for lilo to add the third Debian option (once you install to the MBR as above). There are a ton of tutorials on the web about this subject. Dual booting Linux and Windows is an ever popular option.

This might help

Posted: Thu Apr 27, 2006 5:17 am
by dibyendrah
Look at http://www.gnu.org/software/grub/manual/grub.html#map . This talks regarding the device mapping.

Cheers,
Dibyendra