How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

October 16, 2012

How to erase your mbr in linux

Filed under: Linux — admin @ 6:52 pm

Warning, do this if you only understand what it does.
To remove only the MBR ( boot loader)
dd if=/dev/zero of=/dev/sda bs=446 count=1

To remove your MBR & partition table
dd if=/dev/zero of=/dev/sda bs=512 count=1

The sda is the hard that you want to erase.

Powered by WordPress