On Sat, 26 Apr 2003 12:26:28 +0100 Ian Bell ian@redtommo.com wrote:
I now have debian installed on my other partition and have managed to get X working under Gnome but not KDE. Unfortunately the installer ignored my rh7.3 on the other partition and overwrote the MBR - good job I had made a boot disk. Anyway, tried to mod the redhat lilo.conf to boot debian too but I can't get it to work. boot is /dev/hda in both cases. rh root is /dev/hda1 and debian is /dev/hda2. I can only have one root statement in the preamble block and lilo does not like path names starting /dev in the image line. So how to do this?
Have you tried mounting the other disk partition? So for example, from your Redhat installation:
mkdir /mnt/debian mount /dev/hda2 /mnt/debian
then from within lilo.conf you could try naming you images like:
image=/vllinuz label=Redhat image=/mnt/debian/vmlinuz label=Debian
I have never tried this, but from what I understand, the 'lilo' command (map installer) asks the kernel for the block maps of the named kernels when you run it, so the actual boot loader doesn't care about files or partitions it just load the blocks it has been told to, so device and file names refer to the state of play when the map installer is run, not when the system boots.
As far as the roots for the different linuxes are concerned, the kernels can store their own record of what their root filesystem should be, using the rdev command.
Steve.