[ubuntu-uk] mbr removal command

Dougie Richardson ddrichardson at btinternet.com
Sat Dec 1 15:15:47 GMT 2007


Hi Norman,

On Sat, 2007-12-01 at 10:51 +0000, 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?

It should be sda1 for the first SATA drive and byte size is usually
before count.

-- 
Dougie Richardson                         //         dougie at lynxworks.eu
========================================================================
"Stop breathing down my neck!"          //             blog.lynxworks.eu
"My breathing is merely a simulation!" //              wiki.lynxworks.eu
"So is my neck, stop it anyway!"      //            gallery.lynxworks.eu




More information about the ubuntu-uk mailing list