[lug] Booting Multiple Linuxes

rm at fabula.de rm at fabula.de
Mon Jan 7 19:04:48 MST 2002


On Mon, Jan 07, 2002 at 01:57:21PM -0700, Elyse Grasso wrote:
> I think we're confusing each other...
> 
> /dev/hda1 gets mounted as /boot when 7.2 boots, and /dev/hdc1 gets mounted as 
> /boot when 7.1 boots. 7.1 doesn't know /dev/hda1 exists and 7.2 doesn't know 
> that /dev/hdc1 exists: once they are booted there is no problem. The only 
> problem is telling lilo where to find stuff.

Hmm, LILO doesn't care where things are once the OS is up and running.
LILO (the program, _not_ the boot loader) needs to know where to find
the actual boot image. When lilo the loader is accessing the boot image
it's not using any sort of file system path (this is long before a file 
system gets mounted anyway). In your lilo.conf you need to give LILO (the
installer) the path to the boot images on your current running system,
AFAIK.,

Ralf 

> On Monday 07 January 2002 12:21 pm, Peter Hutnick wrote:
> > 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
> > 
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > 
> > 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list