How to duplicate / copy partition table?

In Linux there is a small helpful tool for this, called sfdisk. It is able to diplays and manipulate the partiation table.
This comamnd reads the partition table from /dev/sda and writes it to /dev/sdb:

sfdisk -d /dev/sda | sfdisk /dev/sdb
 

(make sure you set the correct source / destiation drive!)

You cannot comment on this entry