[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual Lilo boot with Debian and RedHat



#include <hallo.h>
* Andrej Prsa [Fri, Jan 31 2003, 01:12:17PM]:

> /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 think the RedHat installer did not install the boot-block into his own
boot or root partition, but into the MBR. And then, you installed
Debian's boot-block into MBR. What you could do is following:

 mount /dev/hda2 /mnt
 chroot /mnt
 mount /boot

start your editor, edit /etc/lilo.conf. Locate the boot= line and change
it to boot=/dev/hda1. Then run /sbin/lilo. Then leave the chroot shell
("exit"), edit your Debian's lilo.conf and add:

other=/dev/hda1
label=Redhat

save it, quit, run lilo on Debian.

Gruss/Regards,
Eduard.
-- 
Nein, das Problem ist, daß SuSE den Usern verkaufen will, daß
jeder eine Firewall konfigurieren kann bzw. man eine Firewall
nicht konfigurieren muß, da es eine Standard-Konfig gibt.
		-- Guido Hennecke



Reply to: