Menu

Set new PARTUUID after disc clone, how?

Help
Saibot
2016-02-10
2016-02-21
  • Saibot

    Saibot - 2016-02-10

    3TB data disc with one NTFS partition cloned to new 4TB disc.

    Using both drives at the same time is not possible.
    "two drives with same id detected" or similar.

    blkid shows the two partitions have different UUIDs but the PARTUUID ist the same.

    The name in Windows for the new disc is the same as the old "ST3000DM0001"

    ntfslabel --new-serial did not change the PARTUUID

    Any idea how to change the PARTUUID?

     
  • Steven Shiau

    Steven Shiau - 2016-02-21

    UUID shown by blkid is for file system, while PARTUUID is for "partition" of GPT.
    Therefore you can not use a file system label program to change that, instead you have to use a GPT disk program to do that, like "sgdisk".
    E.g.
    sgdisk --partition-guid=1:R /dev/sdg
    will modify /dev/sdg1 with a new random GUID.
    Run "man sgdisk" for more details.

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.