sfdisk, sgdisk¶
check with fdisk -l
for the type
of your disk and move on with sfdisk or sgdisk
sfdisk for MBR disks¶
dump / backup table:
copy from sda to sdb:
sgdisk for GPT disks¶
dump / backup table:
copy from a to b:
you can optionally change the uuids as well of the new disk: