# backup mbr to file
dd if=/dev/sda of=mbr.img bs=446 count=1
# restore mbr to disk
dd if=mbr.img of=/dev/sda bs=446 count=1
Created
January 9, 2017 16:39
-
-
Save jkullick/de897aca76af3618701ae27404e50d3b to your computer and use it in GitHub Desktop.
Backup & Restore MBR with dd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment