Copy partition, keep destination UUID ? [CLOSED]
Posted: Sat Jun 21, 2014 2:10 am
LMDE 201403 Cinnamon 64bit
Is there any tool which will copy a partition from a hard drive, to a different partition on the same hard drive, keeping the destination partition's UUID ? If the tool would do a 'smart copy' of /etc/fstab replacing the /dev line with the destination partition's name and replacing the UUID line with the UUID of the destination partition that would be great.
As best I can tell Gparted, Clonezilla and qt4-fsarchiver will not do this as they produce a complete clone in the destination partition, which gets the source partition's UUID (so there are then duplicate UUIDs on the drive) and a straight copy of the /etc/fstab showing the /dev and UUID lines from the source partition.
Ron
Is there any tool which will copy a partition from a hard drive, to a different partition on the same hard drive, keeping the destination partition's UUID ? If the tool would do a 'smart copy' of /etc/fstab replacing the /dev line with the destination partition's name and replacing the UUID line with the UUID of the destination partition that would be great.
As best I can tell Gparted, Clonezilla and qt4-fsarchiver will not do this as they produce a complete clone in the destination partition, which gets the source partition's UUID (so there are then duplicate UUIDs on the drive) and a straight copy of the /etc/fstab showing the /dev and UUID lines from the source partition.
Ron