dual mounted hdds

Les Mikesell les at futuresource.com
Wed Jan 12 23:53:45 UTC 2005


On Wed, 2005-01-12 at 17:29, david smethurst wrote:
> hi all
> i have mounted a second hdd which i installed fc3
> on my old drive i had fc2
> it wont mount the two drives obviously as both drives have the
> same /boot, /, 
> how can i change the name of the second drive partitions so that they
> will not conflict with the first
> i have sda/1/2, sdb/1/2

Fedora and RedHat use labels to identify disk partitions.  Unfortunately
they don't do anything to even try to make the labels unique to an
installation so if you plug another disk in containing another copy
the system will refuse to boot.

One way to fix it is to edit /etc/fstab, changing the LABEL=name on
the left of the lines to the device partition names (/dev/sda1 for
example).  You also have to edit /etc/grub.conf and change the
root=LABEL=/ to root=/dev/sdxx (the partition name for the root
mount point).  Note, however that the partition names are determined
at boot time by the order that disks are detected so adding a new
drive or controller can also break this scheme.   You could also use
the e2label command to change one set of partition labels.  Either
way you should be able to make your system dual-boot if you want
by putting an entry for the 2nd drive in grub.conf and changing
the /etc/fstab file found there.  
-- 
  Les Mikesell
    les at futuresource.com





More information about the fedora-list mailing list