RedHat 9 and RedHat 7.2 on one bootloader

Hi! Just a quick question. . . is it possible to install 2 releases of RH in one PC? and both are using the same boot loader? I tried doing this and it seems to be impossible. Maybe there is a restriction I failed to read or there might be a work around on this one.

Linux Customization Tweaking 106 This topic was started by ,


data/avatar/default/avatar09.webp

7 Posts
Location -
Joined 2004-02-10
Hi!
Just a quick question... is it possible to install 2 releases of RH in one PC? and both are using the same boot loader? I tried doing this and it seems to be impossible. Maybe there is a restriction I failed to read or there might be a work around on this one.
 
Background: I am doing this because I have RH9 originally installed and HardHat dev kit i got is compatible with RH7.2 only. so i have to "downgrade" my OS to 7.2. Since many files are already in RH9, i got another HDD and installed RH7.2 there having GRUB bootloader of Enigma on MBR. I expected it to behave like RH + WinXX where i can choose which OS to boot, but it wasnt.
 
Thanks everyone!

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
Sure it is!
 
As I understand it, you have RH 7.2's grub as the bootloader now?
 
Post where each root partition is and what your grub.conf or menu/list is and we will walk you through it.
 
Also, is the MBR on the first or second disk?
 
You can also add windows to boot as well, if you really want to!

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
Danleff, I want to put a second Linux on my box too. I'm not really sure how to lay it out or how the partitions are set up in the fstab. I'll also be interested in following this post.

data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
I'll do the best that I can with grub, I am really better at lilo.
 
I have 5 distros on my system, not including Windows, using lilo.
 
What the issue seems to be is the age of the grub bootloader.
 
I like to stick with the newest version, so that it is easier to track how to map the drives.
 
Different distros and even different versions of the same distro may handle partitons and drive designations differently.
 
Raid capable boards are a different story. Mandrake handled my raid capable board differently than Lindows, for example. Not necessarily using raid, but the designations that it gave my three drives, just using the third IDE interface (w/o raid mirrored drives).
 
My old motherboard allowed the use of the its ist raid connector as an ide drive.
 
The best way that I found to do this is to allow the install of the most recently installed distro w/o allowing a bootloader to be installed, or installing the bootloader to a floppy to test the system.
 
This way you can add the lilo or grub entries to the already existing grub or lilo bootloader that you have on the MBR.
 
Of course the best senario is to have the drives already present BEFORE installing any distros, so that grub or lilo has already done the core mapping of the drives for you.
 
As you know, Dapper Dan, you can use Mandrake's partitioning tool or PartitionMagic to add your ext3 or whatever filesystems for the second distro install.
 
Granted, during their installs, Mandrake or RedHat want you to use (or give you a choice) multiple partitons, or allow you to put all the files on ./, or one partition.
 
Once you have your layout and know what the partitions are, you can add the entries for the latest distro to grub or lilo for vmlinuz and initrd.
 
The newer distros will automatically add windows to the mix when they are installed. I don't know if this was an option in RedHat 7.2 yet.
 
So, knowing what the boot/root designations are on the existing partitions will aide in adding entries to the already installed grub.
 
This way snorlaxx can choose which distro to boot in grub.

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
Quote:I have 5 distros on my system...
danleff, I would kill to see a screenshot of your HD from qtparted!! 8)

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
Quote:This way you can add the lilo or grub entries to the already existing grub or lilo bootloader that you have on the MBR. Do you think it would matter if grub is installed to a /boot partition?

data/avatar/default/avatar34.webp

52 Posts
Location -
Joined 2004-01-17
Quote:I have 5 distros on my system, not including Windows, using lilo

WhaoWw :x

data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
The issue about root vs. boot has always confused me. It should work, as long as the partition designations are correct.
 
Anyhow, here is a screenshot of hda. My other distros are hdb and hdd, which hold other distros. See where I made some errors in laying out the partitions?
 
http://home.nycap.rr.com/danleff/images/snapshot2.png
 
And hdb, which has plenty of space left.
 
http://home.nycap.rr.com/danleff/images/snapshot3.png
 
Qtparted can't see hdd, but PartitionMagic can...hmm...

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
That's really something! :x It's all I can do to keep up with two! Thanks danleff!

data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Yea, I just got my SUSE 9 PRO disks from Linux CD (a Linux Compatible sponsor) and it detected all the partitions, set them up on icons and I installed the RedHat rpm for qtparted - all the drives and partitions are seen.
 
Now let's see if I can break the system with KDE 3.2 and kernel 2.6.3.

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
How do you set it up so one distro doesn't install over another on the same drive? If, say Mdk 9.2 installs intself on / and /home , how does the next distro you install know not to install itself to those partitions? I'm sure you rename them somehow or something. Can you go into some detail about this and maybe write a table out showing how it works with two different distros? Thanks!

data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
This is one quirk that Mandrake's disk partitioning utility has. When you install Mandrake, at the boot prompt when the install cd loads, type in expert.
 
This begins the expert install. Then when you reach the menu for disk partitioning, choose custom partitioning. This prevents Mandrake from automatically assigning root to a previously populated ext2 or ext3...partition. You can then assign your previously formatted partitions to root, home or whatever.
 
If you do not choose expert install, I found that Mandrake tries to install root to a previous linux partition.
 
Fedora seemed to allow me to manually choose the designations.
 
Debian gives you a menu list of available partitions, then you just choose the one that you want.
 
Of course, make sure you know your partitions and what distros that you have on them/ where they are located.
 
What I have noticed is that most distros, that generally use one main partition, allow you to chose a previously formatted linux partition for the distro.
 
So, if you use qtparted or PartitionMagic to set up a linux filesystem ahead of time, you can use this partitin by choosing it during the install of the new distro.

data/avatar/default/avatar05.webp

309 Posts
Location -
Joined 2004-02-24
yeah i had the same issue with fedora and red hat how do you work two versions of linux onto one hard drive i have it set up like this
 
60 gig xp
25 gig redhat 9.0
25 gig fedora 1
1 gig linux swap
 
now fedora worked but as soon as i put in redhat it wiped my fedora partition.