I'm trying to setup /etc/fstab
to automatically mount two external NTFS hard drives on boot, and decided to use the UUIDs as reference instead of the device names.
Strangely, blkid
reports that both hard disks have the exact same UUID, so I am unable to add both entries into the file. Here's what it shows for the two disks:
/dev/sdc1: LABEL="Hank's Legacy" UUID="D8249BB8249B97D8" TYPE="ntfs" PARTUUID="61bf885b-01"
/dev/sdb1: LABEL="Hank's Mainframe" UUID="D8249BB8249B97D8" TYPE="ntfs" PARTUUID="f865b797-01"
I read that tune2fs
cannot be used to modify the UUID for NTFS partitions, because this is technically not a UUID, but a serial number. Any suggestions on how I can mount the two disks without causing conflicts?
Best Answer
To mount an NTFS drive we can also use a disk label only. We can safely change the label from Windows or by using ntfslabel . See
Needless to say that by using ntfslabel we can also change a partition's UUID (aka serial number). To avoid negative effects on the UUID dependent Windows file allocation we should only change the upper part of the UUID (which is not used by Windows):
Example: