zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Backup your MBR

September 5, 2011 by Igor Drobot Leave a Comment

Master Boot Record (MBR), a small program that is executed when a computer boots up.

You can save your MBR with a simple DD-command to a file:

1
dd if=/dev/sda count=1 bs=512 > /var/backup/MBR

dd if=/dev/sda count=1 bs=512 > /var/backup/MBR

From this file you can restore your MBR very easy:

1
dd if=/var/backup/MBR of=/dev/sdb

dd if=/var/backup/MBR of=/dev/sdb

Filed Under: Linux Tagged With: Master Boot Record, MBR, Save MBR

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok