Sample Header Ad - 728x90

How can I quickly copy a GPT partition scheme from one hard drive to another?

12 votes
1 answer
10446 views
On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution, not just using GNU parted to output the partition sizes and then manually making them again.
Asked by Kris Harper (391 rep)
Aug 20, 2011, 12:51 AM
Last activity: Oct 8, 2018, 09:28 PM