Posted in Command Line, Linux Backup and Restore Boot sector Binny V A June 20, 2009 Leave a Comment on Backup and Restore Boot sector Use these commands to backup/restore your boot sector dd if=/dev/hda of=bootsector.img bs=512 count=1 # backup dd if=bootsector.img of=/dev/hda #restore Original Article Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.