Little Girl's Mostly Linux Blog

BackUpMBR

Back up MBR

This page was last updated on July 18, 2009.


Replace /dev/sda with your device, and /path/filename with the path and file you want to create.

  1. Back up the MBR:
  2. dd if=/dev/sda of=/path/filename bs=512 count=1
  3. Restore MBR:
  4. dd if=/path/filename of=/dev/sda bs=512 count=1


Obligatory Happy Ending

And they all lived happily ever after. The end.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: WordPress Classic. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.