LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Installing Multiple Versions of Red Hat? (https://www.linuxquestions.org/questions/linux-general-1/installing-multiple-versions-of-red-hat-48238/)

tudmuf2b 03-04-2003 12:53 PM

Installing Multiple Versions of Red Hat?
 
Hey all,

I'm looking to do some testing with RH 8.0 and the next version (which I heard is now going to be called 9.0 and not 8.1), and I have a question about installing multiple versions of Red Hat.

The issue lies with the location of the /boot directory. Say I have already have /boot at /dev/hda2 for RH 8.0. Now if I attempt to put 8.1beta as a completely seperate entity, then what do I do? It will also create another /boot and then GRUB is confused, because it only expects one /boot in the its conf file.

Any pointers? The reason for the multiple RH versions is to test out the differences and I only have this one box to do it on.

Tinkster 03-04-2003 01:57 PM

I don't know about Grub...

But for lilo it would be easy.
All you need to do is install the secondary
installations lilo into it's own /, and in the lilo.conf
of your primary installation point it to the
secondaries partition as other :) (like
you'd do with a DOS partition for instance)

I do assume that Grub would support a
similar process...

Cheers,
Tink

tudmuf2b 03-04-2003 02:50 PM

Hmm. Now that I think about it, it might not be all that hard.

I think I could just use another root (hd0,x) line (with x being the partition number of the new /boot) and then just go from there.

It's fun to think out loud actually. :)

Thanks for the response, and this is my grub.conf currently.


# grub.conf generated by anaconda
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-2.48)
root (hd0,0)
kernel /vmlinuz-2.4.20-2.48 ro root=LABEL=/
initrd /initrd-2.4.20-2.48.img

JStew 03-04-2003 03:24 PM

tudmuf2b: do you have a /boot partition?

JStew 03-04-2003 03:25 PM

sorry... was looking at the wrong post...

redhat install program will allow you to use the same /boot partition that you had for the other distro ver

tudmuf2b 03-04-2003 03:45 PM

Thanks. I guess I need to be careful not to format the /boot partition, but it should not be an issue now that I think about it. As long as my "old" /boot stuff does not get blown away by the new install we should be golden...

JStew 03-05-2003 05:36 AM

/boot and /swap can be used by different linux installs... that's the cool thing about that... lilo is awesome... grub looks to be even easier to configure... I was just looking at its configuration file and it looks even easier to set up multiple os's on one box.

How come ppl will go out and buy partition commander when they can just use Lilo or Grub... ???

tudmuf2b 03-05-2003 08:13 AM

I like GRUB alot. I remember back in the day when I like having the NT Boot Loader boot Linux, Win95 and NT, and GRUB is pretty elegant in the way it handle this.

I'll share my swap partition and my /boot when I install another version of Linux on my box.

Thanks for everyone's help


All times are GMT -5. The time now is 05:39 PM.