[ubuntu-uk] mbr removal command

Terence Simpson stdin at stdin.me.uk
Sat Dec 1 15:41:08 GMT 2007


norman wrote:
> As a result of my research into the complete removal of the MBR I came
> across the following command:-
>
> dd if=/dev/zero of=/dev/hda1 bs=512 count=1
>
> I have 2 questions and I would be grateful for answers, please. Firstly,
> as I have only one hdd and that is a SATA drive, should I substitute
> sda0 for hda1 and, secondly, does it matter which comes first bs=512 or
> count=1, I have seen both and so am confused?
>
> Norman 
>
>
>   
You just substitute "/dev/hda1" for the device you want, but I would
have thought it'd be more like "/dev/sda" if you want to wipe the MBR..
Also the order of the options to "dd" does not matter.

Terence




More information about the ubuntu-uk mailing list