How to take backup/restore of MBR with dd command?



The MBR is located in the first 512 bytes of the disk (the first sector).

Size (bytes) Description
446 Executable code section
4 Optional Disk signature
2 Usually nulls
64 Partition table

2 MBR signature

1. backup : execute following command

dd if=/dev/hda of=/mbrbackup.bin bs=512 count=1

2. Restore :

dd if=/mbrbackup.bin of=/dev/hda bs=512 count=1

 By : cpanel.net



Related Posts:



Responses

0 Respones to "How to take backup/restore of MBR with dd command?"

Post a Comment

»Thank you for reading this article
If you have questions or comments, please leave a comment
»You can click on the Subscribe by email to subscribe comments of this post
»You can register directly link pictures, mp3, video on the comment form.
»You may use some HTML tags such
»Please post comments polite and typing accented Vietnamese if possible
»Thank the good faith comment

 

Categories

Recent Comments

Total Pageviews

Return to top of page ©Web Server Tips Tricks 2010 | Develop by Mr.PhanQuan .Powered by Blogger . All rights reserved.