Dual booting two distros

I want to eventually install Gentoo on the same HD with my present RedHat 9. Is anyone here running two distros on the same hd? If so, would you please post your /etc/fstab so I can get an idea of how things are to be setup? Thanks.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
I want to eventually install Gentoo on the same HD with my present RedHat 9. Is anyone here running two distros on the same hd? If so, would you please post your /etc/fstab so I can get an idea of how things are to be setup? Thanks.

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
I HAD four on the same drive, does this count?
 
I blew the others and started from scratch.
 
What I found is that it depends on the distro. For example, which one is installed last. Also, it depends on how the base distro recognizes the other distros and what the bootloader is, lilo or grub.
 
With Mandrake installed last, it auto config'ed fstab to recognize the other distro's root partition. I just added the proper locations for vmlinuz and initrd in lilo, as well as the correct partition for root for the first installed distro and it worked.
 
The exception was Lindows and it's lilo, that apparently made me reference the other distro's partition through Lindows and where it mounted Mandrake. This was due to a Lindows file hardrive.inf not being installed last and being unable to see the other distro's partition, as a consequence.
 
So, I see where you are going.
 
Let me look at my setup, one is with grub, and look at it.
 
So you have two choices. Allow Gentoo (the last installed distro) to use it's bootloader and see what it picks up and go from there.
 
Or, choose to make a boot disk and not allow gentoo to install the bootloader on MBR and configure RedHat's grub or lilo to add gentoo.
 
Then add enrties to fstab to each to auto mount each other, if redhat and/or gentoo doesn't do this for you.
 
Of course, the disclaimer about backing up you data applies!