To backup partition table:
sfdisk -d /dev/sda > sda.table
To restore the partition table:
sfdisk /dev/sda < sda.table
To clone partition table:
sfdisk -d /dev/sda | sfdisk /dev/sdb
- sandip's blog
- Login or register to post comments
To backup partition table:
sfdisk -d /dev/sda > sda.table
To restore the partition table:
sfdisk /dev/sda < sda.table
To clone partition table:
sfdisk -d /dev/sda | sfdisk /dev/sdb