Skip to contentSkip to conversation

How to install two linux OSes on the same PC

DISCUSSION Narsimha Reddy CHALLA 2 participants 3 messages Feb 5, 2003 – Feb 7, 2003 VFS

lore
Share & tools
lore
#0 lore raw

Hi All,

I want to do two different linux installations rh 7.2 and rh
8.0 on the same pc with single hard disk. I installed the rh 7.2 in partitions say /dev/hda5 ( /) , /dev/hda6 (/home) , /dev/hda7 ( /usr) ,
/dev/hda8 ( /tmp),... /dev/hda11 etc.

But how can I install the rh 8.0 in partitions say /dev/hda12
( as "/" ) ... etc ?? Since the installer won't allow as there already exists a "/" partition for the rh 7.2 and tries to override it with the root partition of rh 8.0. So I tried giving a different lable to the root partition of rh 8.0 say /root1 and other partitions as /root1/usr, /root1/home, /root1/tmp etc. But here also the installer is looking for the partition named "/" and without that the installation is not happening.

Please give your suggestions on how to resolve this problem.

At present my partition table with single installation (rh 7.2) is,

[root@creddy-pc root]# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 2434 cylinders Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       261   2096451    6  FAT16
/dev/hda2           262      2434  17454622+   5  Extended
/dev/hda5           262       522   2096451    6  FAT16
/dev/hda6           523       653   1052226   83  Linux
/dev/hda7           654      1175   4192933+  83  Linux
/dev/hda8          1176      1371   1574338+  83  Linux
/dev/hda9          1372      1436    522081   82  Linux swap
/dev/hda10         1437      1501    522081   83  Linux
/dev/hda11         1502      1566    522081   83  Linux

[root@creddy-pc root]#

TIA,
- Narsimha Reddy CH

#1 lore raw
Quoted 2 lines · Narsimha Reddy CHALLA

Please give your suggestions on how to resolve this problem.

I think this should work: After the first install change the volume labels on the existing partitions (with e2label), changing /etc/fstab at the same time. Then, you can use the labels the installer wants on the second install.

Signature · 2 lines
David Kleikamp
IBM Linux Technology Center
#2 lore raw

Thanks a lot for your help. It really worked with disk driud. It cleverly managed the name conflicts of lables i.e. for first installation the root is "/" and for the second installation the root lable is "/1". After editing /etc/lilo.conf of first one and /sbin/lilo, I can boot both of them using.

Regards,
- Narsimha

Quoted 10 lines · Dave Kleikamp
Quoted 3 lines · Narsimha Reddy CHALLA

Please give your suggestions on how to resolve this problem.

I think this should work: After the first install change the volume labels on the existing partitions (with e2label), changing /etc/fstab at the same time. Then, you can use the labels the installer wants on the second install.

Signature · 6 lines
Narsimha Reddy CH
Storage Area Networking, HCL Technologies
Contact +91-044 2372 8366 ext 1128

http://san.hcltech.com
http://www.hcltech.com