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
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