This is a discussion on Fedora Linux FC3 - adding old RH9 disk within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have two versions of Linux on 2 disks based on the same hardware (ie same PC) I have ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have two versions of Linux on 2 disks based on the same hardware (ie same PC) I have a single Disk with RedHat 9 installed with the default directory structure. I have a new disk (default directory structure) with Fedora FC3 (updates applied). I would like to add my old redhat 9 disk to my fedora installation if possible to move files to my new disk as required. When I tried to add my old RH9 disk I got a problem with disk labels due to a second "BOOT" label being found. Are there other labels that will clash? I'm a newbie with disks in Linux. Any suggestions as to how to get around this problem? |
| |||
| On Thu, 13 Jan 2005 15:37:48 -0800, JohnC wrote: > I have two versions of Linux on 2 disks based on the same hardware (ie > same PC) > > I have a single Disk with RedHat 9 installed with the default directory > structure. > > I have a new disk (default directory structure) with Fedora FC3 (updates > applied). > I would like to add my old redhat 9 disk to my fedora installation if > possible to move files to my new disk as required. > > When I tried to add my old RH9 disk I got a problem with disk labels due > to a second "BOOT" label being found. Are there other labels that will > clash? Yep, the root partition has the label '/' > I'm a newbie with disks in Linux. > Any suggestions as to how to get around this problem? Use the actual drive/partition (/dev/hdXy) instead of the labels, hints carefully review your /boot/grub/grub.conf file (the comments section at the top) and read from the console or xterm session 'man e2label' without the quotes. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- B. Franklin, 1759 |
| |||
| "Lenard" <lenard@127.0.0.1> wrote in message news > On Thu, 13 Jan 2005 15:37:48 -0800, JohnC wrote: > >> I have two versions of Linux on 2 disks based on the same hardware (ie >> same PC) >> >> I have a single Disk with RedHat 9 installed with the default directory >> structure. >> >> I have a new disk (default directory structure) with Fedora FC3 (updates >> applied). >> I would like to add my old redhat 9 disk to my fedora installation if >> possible to move files to my new disk as required. >> >> When I tried to add my old RH9 disk I got a problem with disk labels due >> to a second "BOOT" label being found. Are there other labels that will >> clash? > > Yep, the root partition has the label '/' Yeah, it's straightforward with fdisk on the bootable CD to rename these partition labels and edit your /etc/fstab's appropriately, and your gru.conf if necessary. I'd definitely do it from the rescue CD or first installaiton CD, rather than trying to do it live. |
| ||||
| Thanks for your help, you saved me from trashing my machine in error! Adding my second disk (RH9 disk) =========================== I physically connected 2nd disk as slave (ie RH9 disk) Rebooted into Fedora Linux Got error messages about duplicate label /BOOT 2nd disk is known as hdb1 (boot section) hdb2 (main section) Relabelled 2 clashing labels e2label /dev/hdb1 /bootRH9 e2label /dev/hdb2 /RH9 Edited fstab file added 3rd line ie linked label RH9 to disk directory /rh9 /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 LABEL=/RH9 /rh9 ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 Finally created mount point for new disk mkdir /rh9 Rebooted machine. Could cd /rh9 ! Now all my data from my old RH9 disk appears within this directory (I was not interested in accessing the boot section of my old RH9 disk.) |