You can backup your system partition table with sfdisk which you can also inlude extended partitions.

backup partition table

sfdisk -d /dev/sda > my-sda.sf

restore partition table

sfdisk /dev/sda < my-sda.sf --force

you can download the sfdisk source from

ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.15/

and you can compile it for your desktop PC or for your embedded device. (cross compiling)


Buy me a beer

Related posts:

  1. MBR backup with dd command @ LINUX MBR is the master boot record of your disks. It...
  2. Backup entire disk (mbr included) with dd (linux command) and gzip BACKUP DISK dd if=/dev/sdX | gzip > a.gz RESTORE BACK...
  3. High CPU usage solution for vmware on linux (files on NTFS) If you have high cpu usage problem for your vmware...
  4. How to use windows shares with Linux Samba First of all you need to share some directories on...
  5. How to find active local computers on a LAN with Linux machine This entry gives a way to find active computers on...