[NTLUG:Discuss] multiple distros on one system

Chris Cox cjcox at acm.org
Wed Jan 9 23:01:36 CST 2002


I usually share a common /boot partition in which to store
my kernels.  So all kernels you'll copy into /boot and then
just adjust the root= parm for each to point to the appropriate
root for the distribution you want.

e.g.
    image = /boot/vmlinuz
    label = linux
    root = /dev/hdc5

    image = /boot/mdk81
    label = mdk81
    root = /dev/hdc6

    image = /boot/rh72
    label = rh72
    root = /dev/hdd1
...etc..

That's the way I usally do it... there are probably other
good ways.

The disadvantage of using this technique is that you
are ultimately going to have maintain your LILO with
one distribution (to avoid LILO corruption due to trying
to maintain the boot record with different versions)... but
if your sure all of you LILO's play well with each other, you
won't have to worry about that rule.

(you may have to create and load separate initrd's for each
distribution depending upon what modules have to be loaded
prior to main boot... e.g. when the root filesystem is in
reiser format, you'll need an initrd to load the reiser
modules prior to the root filesystem getting mounted.
Dennis Myhand wrote:




More information about the Discuss mailing list