sfdisk -d /dev/sda > sda.part.table
sfdisk /dev/sda < sda.part.table
Bootsektor:
dd if=/dev/sda of=/mnt/backup/sda.mbr bs=512 count=1
dd if=/mnt/backup/sda.mbr of=/dev/sda bs=512 count=1
Bootsektor:
dd if=/dev/sda of=/mnt/backup/sda.mbr bs=512 count=1
dd if=/mnt/backup/sda.mbr of=/dev/sda bs=512 count=1