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....
  2. Backup entire disk (mbr included) with dd (linux command) and gzip BACKUP DISK dd if=/dev/sdX | gzip > a.gz RESTORE...
  3. Sample Linux Driver (module) I am generally writing linux drivers for embedded systems...
  4. Xkdrive(of XOrg) for ARM9(S3C2440A) cross compile howto Xkdrive ==> cross & scratchbox native both…. 0. toolchain...
  5. About The Site & Author Selcuk KAYA currently works for a consumer electronic company...