sfdisk

http://radagast.ca/partition%20tables/partition%20tables%20backup%20and%20recovery.html

Partíciós tábla mentése

sfdisk -d "/dev/sda" | tee "logical.sfdisk"

# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 2048, size= 1048576, Id=83, bootable
/dev/sda2 : start= 1050624, size=975722544, Id=83
/dev/sda3 : start= 0, size= 0, Id= 0
/dev/sda4 : start= 0, size= 0, Id= 0

Partíciós tábla helyreállítása

sfdisk "/dev/sda" < "logical.sfdisk"