Jump to content

I wiped my fscking partition table!


Recommended Posts

Don't feel bad; I've done that before. Now I always make a backup of my mbr with:

 

# dd if=/dev/hdx of=/dev/fd0 bs=512 count=1

 

where 'x' corresponds to your boot hard drive. This will backup the mbr to a floppy but you can put it anywhere on a removeable medium.

 

To restore just do:

 

# dd if=/dev/fd0 of=/dev/hdx bs=512 count=1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...