Sfdisk
From Wsms
sfdisk is a Linux command that lists and sets partition tables. It is useful for making a text backup of a partition table so that the disk can be restored if necessary.
Make a text version of a partition table
# sfdisk -d /dev/sda > sda-sfdisk.out
Restore the partition table
# sfdisk < sda-sfdisk.out
[edit]
see also
fdisk
man sfdisk
http://www.ducea.com/2006/10/09/partition-table-backup
