Make a copy of MBR (Master Boot Record) to a file.
dd if=/dev/hda of=mbr.img bs=512 count=1 dd if=mbr.img of=/dev/hda bs=512 count=1 #restore the MBR
This entry was posted on Tuesday, March 17th, 2009 at 11:38 pm and is filed under Command Line, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Name (required)
Mail (will not be published) (required)
Website
Notify me of followup comments via e-mail
I am Binny V A, a freelance Web Developer on the LAMP Platform. Open Source Geek.
Follow me(@binnyva) on Twitter