Posted in Command Line, Linux Backup MBR to Image File Binny V A March 17, 2009 Leave a Comment on Backup MBR to Image File Make a copy of MBR (Master Boot Record) to a file. dd if=/dev/hda of=mbr.img bs=512 count=1 dd if=mbr.img of=/dev/hda bs=512 count=1 #restore the MBR Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.