How to clear MBR

If you've got issues while trying to boot into your new kernel after upgrading your hardware raid controller driver and want to clear the MBR on a few drives, this is the proper way to do it!

dd if=/dev/zero of=/dev/hda bs=512 count=1

That will erase any MBR. If your drive is not /dev/hda then please use the proper one (such as /dev/hde or /dev/sda or whatever you have).

Please remember also, that Windows REQUIRES the use of the first Primary partition and it will assume it is the only operating system to be on
the machine. This wil cause you difficulty.

Posted on: 26/10/2010








0 Comments
If you want to leave a comment please Login or Register