LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install 2 RHEL5 Linux onto 1 Hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/install-2-rhel5-linux-onto-1-hard-disk-642539/)

mamijaya 05-15-2008 11:32 PM

Install 2 RHEL5 Linux onto 1 Hard disk
 
Hi,

How to Install 2 RHEL5 Linux OS onto 1 Hard Disk ??


Thanks,
J

Wim Sturkenboom 05-15-2008 11:49 PM

Setting up a couple of partitions and install it twice. Consider if you need to share $HOME between the two or not. Swap can be shared between the two

e.g

/dev/sda1 swap
/dev/sda2 root (/) install 1
/dev/sda3 root (/) install 2
/dev/sda5 /home install 1
/dev/sda6 /home install 2

Can be modified according to your needs

mamijaya 05-16-2008 12:53 AM

Hi Wim,

I tried to create 1 root(/) and one boot (/boot) and one /project partitions and Installed the OS.

To Install the 2nd OS , I selected the free space available and created the required partitions and Installed the OS.

With this procedure Always the 2nd OS was overwriting the 1st one.
I'm not sure is there any configuration that should be done to Bring up both the OS.

What is the correct way of Installing the OS ?? Can I create 2 root and 2 boot partitions at the same time ?? If so, I can Install only 1 OS at one time. Second time when I put the OS CD and reboot the System , it will ask to either remove all partitions or to choose free space ....

I'm New to Linux. Can you pl share with me the step by step procedure involed in Installing the 2 OS onto one disk ??


Thanks,
J

Wim Sturkenboom 05-16-2008 04:46 AM

I'm not (or no longer) familiar with RedHat. When you use the free space during the second install, it does not allow you to partition the free space but it does it's own thing? Maybe there's an option hidden somewhere, maybe only accessible using some other way of install (text-mode?) ?

I had a system running RH7.3 and RH8.0. I did the partitioning during the install of RH7.3 (first install). At that stage you don't assign a directory to a partition.
During the install of RH7.3, I was able to tell it which partition to use for / and which one for /home. When I installed RH8.0, I again was able to tell it where to place those directories (obviously I used different partitions).


All times are GMT -5. The time now is 09:22 PM.