How to duplicate / copy partition table?

Daniel Urstöger
17-01-2012 17:17

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!)

Average rating: 0 (0 Votes)

You cannot comment on this entry