The easiest way to handle dual boots of linux is to create separate lilos
for each distro.  Set one lilo write to the mbr and the other to write to
the start of it's own partition.

For example:

Set Debian's lilo to write to mbr.  Set up lilo to boot redhat's root on
/dev/hda2.

Set up Redhat's lilo to write to the boot sector of /dev/hda2, and not ever
touch the mbr.

I hope this is of some help.

Regards,

Colin Ellis

Solution City Ltd


-----Original Message-----
From: Andrej Prsa [mailto:[EMAIL PROTECTED]]
Sent: 31 January 2003 14:56
To: [EMAIL PROTECTED]
Subject: Dual Lilo boot with Debian and RedHat


Dear Debianists!

I have a problem and I hope you can help me out!

Yesterday I installed Debian Woody 3.0r1 on my laptop. I have been using
RedHat 7.3 and I grew tired of things not working the way they should,
so I decided to try Debian out. I have a 40Gb disk, which was completely
under RedHat. Now I repartitioned it to be only 20Gb, 10Gb I gave to
Debian and 10Gb are still free. Now the structure is as follows:

/dev/hda1 is RedHat's /boot
/dev/hda2 is RedHat's /
/dev/hda3 is Linux Swap
/dev/hda5 is Debian's /

I used to have Grub to load RedHat, which has now been replaced with
Lilo in MBR. It boots Debian without any problems and now I don't know
how to boot back into RedHat. Mounting works fine, both /dev/hda1 and
/dev/hda2. But if I try to add either to lilo.conf, I get "not bootable"
problem. What do I do?

I would be happy to attach RedHat's grub.conf if it'd help!

Thanks a lot in advance!

Andrej


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to