Welcome

Troves being gleaned while surfing on the Internet mostly about computer/IT/system skills and tricks, Welcome here ...
Powered By Blogger

Disclaimer

This blog is written by the owner with real practices and tests and intended to hold all original posts except there is a clear declaration for referencing from others. Thanks for tagging with the source link or other tips for reference from here if you would like to quote partial or full text from posts in this blog.

Sunday, December 19, 2010

Easy way to bakup/copy MBR under linux

1. get to know where the current MBR lies 

sudo /sbin/fdisk -l

the line tagged with an asterisk in between (aligned with column "Boot" ) indicates what you want.

2. read out and write into wherever you desire using dd

dd if=/dev/sda4 bs=512 count=1 of=/root/mbr.FAKE 

this is on the presumption that step 1 above gives you sda4.

No comments: