How to duplicate / copy GPT partition table?

Daniel Urstöger
21-06-2013 19:22

sfdisk doesn´t do the trick on GPT tables, so this will not work.

 

This is also easy, we need to install

aptitude install sgdisk

 

and then run this two commands: (this will copy the partition table from sda to sdb and then reload the table)

sgdisk -R=/dev/sdb /dev/sda
sgdisk -G /dev/sdb
Average rating: 0 (0 Votes)

You cannot comment on this entry