Change UUID of the Cloned Disk in linux

If you’ve cloned a disk, such as by using dd, you might want to be able to mount both the original and the clone at the same time. To make sure that the UUIDs don’t clash, first generate a new UUID, and then assign it to the new disk with tunefs:

... 79fb806d-4350-4b8c-8bc3-f3bb0c6b56f2

  #tune2fs -U 79fb806d-4350-4b8c-8bc3-f3bb0c6b56f2 /dev/sdc1

Now mount the new disk:

#mount -U 79fb806d-4350-4b8c-8bc3-f3bb0c6b56f2 /mnt/clonedis


Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks