[parted-devel] cloning partition tables

Bernd Schubert bs at q-leap.de
Wed Nov 7 16:55:29 UTC 2007


Hi,

I need a replacement for cloning partition tables as I was used to with
sfdisk

sfdisk -d /dev/some_disk >master_partition_table
sfdisk /dev/another_disk < master_partition_table

As far as I can see it, with gtp partition tables the first 17kB are
reserved, so will something like this work without side effects?

dd if=/dev/some_disk of=master_partition_table bs=1 count=17408
dd if=/dev/master_partition_table of=/dev/another_disk bs=1 count=17408


Thanks in advance,
Bernd







More information about the parted-devel mailing list