[lilo]:loading three OS.

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
cheikhbouchihda
Forum Commoner
Posts: 51
Joined: Thu Mar 02, 2006 2:08 pm
Location: France.

[lilo]:loading three OS.

Post 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 :)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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).
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post 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.
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

This might help

Post by dibyendrah »

Look at http://www.gnu.org/software/grub/manual/grub.html#map . This talks regarding the device mapping.

Cheers,
Dibyendra
Post Reply