July 08, 2004

Backup MBR & Partition entries

Backup
dd bs=512 count=1 if=/dev/hda of=backup-hda.mbr
sfdisk -d /dev/hda > backup-hda.sf

Restore
dd if=backup-hda.mbr of=/dev/hda
sfdisk /dev/hda < backup-hda.sf

ref.
http://www.partimage.org/doc/index-3.html#ss3.7

Posted by pank at July 8, 2004 06:03 PM
Comments
Post a comment













Remember personal info?