Ok friends,
I had a go and edited my fstab and rebooted and my system now sees my 2nd harddrive.
I didn't use the UUID method because after mounting it using the mount command then doing a "blkid" in the konsole it gave this output:
[root@localhost philw]# blkid
/dev/hda1: UUID="B4B4766DB47631CA" TYPE="ntfs"
/dev/hda5: UUID="665ee4f8-f936-49e2-b6b6-f7127156dcde" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda6: TYPE="swap" UUID="170d705e-704d-409b-9fd9-bedb8be64084"
/dev/hda7: UUID="6b68d407-97e0-4911-a322-46e611f658a8" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdd1: UUID="665ee4f8-f936-49e2-b6b6-f7127156dcde" SEC_TYPE="ext2" TYPE="ext3"
Now i'm still learning but even I think it's strange that two devices should have the same UUID and this could confuse the system on booting. So I used "/dev/hdd1" as the identity which i'd read would also work.
The 2nd drive (hdd1) is formatted ext3 and had a copy of my original / partition on it. So am I right in thinking this is why it has cloned the UUID as well ?. I can't remember how I cloned it now but I think it was from a LiveCD.
In the interests of furthering my knowledge is anyone able to advise what has happened ?. If I had used the stated UUID would it have borked my system ?.
You did a bit for bit
clone of the entire
filesystem, which contains the UUID number, so now have
two partitions with the
same number. Had you
created the partition,
formatted it, then
copied the
data only, you'd not have this situation, but two
unique UUID numbers.
You can use the
tune2fs app to
delete the present UUID of the clone drive, and create a
new proper UUID.
From man tune2fs:-U UUID
Set the universally unique identifier (UUID) of the filesystem to UUID. The format of the UUID is a series of
hex digits separated by hyphens, like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". The UUID parameter may
also be one of the following:
clear clear the filesystem UUID
random generate a new randomly-generated UUID
time generate a new time-based UUID
The UUID may be used by mount(8), fsck(8), and /etc/fstab(5) (and possibly others) by specifying UUID=uuid
instead of a block special device name like /dev/hda1.
While you're at it, you could also give the partition a unique label, of up to 16 characters, and use that in the same manner as a UUID, but easier to understand and type than a long number.