I used clonezilla to clone an entire drive. My end goal is to run updates on this drive, boot from it, and migrate the updates over to the "original" drive. To keep the computer from getting confused when I boot with two identical drives, I need to change the UUID but I'm running into trouble.
# tune2fs /dev/sda2 -U 'dc0e45c0-fada-11e2-8e97-2fa4191f2c28'
tune2fs 1.41.12 (17-May-2010)
tune2fs: Bad magic number in super-block while trying to open /dev/sda2
Couldn't find valid filesystem superblock.
This is an LVM member if that makes any difference.
# fdisk -l
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00097d75
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 30395 243627008 8e Linux LVM