MBR is the master boot record of your disks. It includes also partition table. If you want to create one to one partition table and don’t want to copy all your disk you can use the commands below

to backup your mbr

dd if=/dev/sdX of=mbr.bin bs=512 count=1

to restore back your mbr

dd if=mbr.bin of=/dev/sdX bs=1 count=64 skip=446 seek=446

Buy me a beer

Related posts:

  1. Linux mbr record backup with sfdisk included extened partition infos You can backup your system partition table with sfdisk which...
  2. Backup entire disk (mbr included) with dd (linux command) and gzip BACKUP DISK dd if=/dev/sdX | gzip > a.gz RESTORE BACK...
  3. linux watch command & example usage you can use watch command directly like this watch –interval=1...
  4. How to change ‘ls’ command color @ linux terminal First change ls commands color attribute to auto alias ls=’ls...
  5. Sample Linux Driver (module) I am generally writing linux drivers for embedded systems for...