[lug] Booting Multiple Linuxes

Peter Hutnick phutnick at peakpeak.com
Mon Jan 7 12:21:47 MST 2002


Elyse Grasso wrote:

> I now have a machine with KRUD 7.2 installed on hda and KRUD/RedHat 7.1 
> installed on kdc.
> 
> Both installations use /boot partitions on their own hard drives.
> Anyone have a sample lilo.conf for this situation? lilo seems unhappy about 
> the things I've tried, possibly due the the /boot ambiguity.

Well, you can only have one thing called /boot per instance of an OS. 
So, you will need another name for the "other" OSes /boot in each 
instance.  So, say that the KRUD /boot is hda1 and the RH /boot is hdc1, 
call the hdc1 /rhboot (or hell, /mnt/rhboot) in KRUD and call hda1 
/KRUDboot in RH.

To say all this in another way; each OS instance is clear on what /boot 
is, but they disagree, and I think that it is ambigious in your mind (it 
isn't to the SW ;-)

I don't have a lilo.conf handy, but you need something like:

(in KRUD)

label=KRUD
image=/boot/linux

label=RH
image=/rhboot/linux

(and in RH)

label=KRUD
image=/KRUDboot/linux

label=RH
image=/boot/linux

(Note that I'm not 100% sure of any of the syntax above, I'm just trying 
to illustrate the point.)

The point here is that both of the above are equivalent when you expand 
the mount points to devices.

I hope I made it better, not worse :-)

-Peter




More information about the LUG mailing list