On Sat, Sep 22, 2012 at 12:33:47PM -0700, Scarletdown wrote:
> On 9/22/2012 12:20 PM, Andrei POPESCU wrote:
> >dd if=/dev/zero of=/dev/yourdrive bs=1M
> 
> But does that remove the partitions themselves?  I thought the OP
> was wanting to actually delete the MS partitions, which are used to
> restore a computer to its factory default with all the overbloated
> crappeware that gets put on them by the OEM.

You don't even need to go that far. Microsoft Windows uses the MSDOS/Intel
partition structure, which means the partition table for the entire drive
relies only on the first 512 bytes of the drive.

    # dd if=/dev/zero of=/dev/sda bs=1 count=512

Done, and much faster than waiting for your drive to be erased from head to
toe (unless you do actually need that).

-- 
. o .   o . o   . . o   o . .   . o .
. . o   . o o   o . o   . o o   . . o
o o o   . o .   . o o   o o .   o o o

Attachment: pgpsA6BCECrnk.pgp
Description: PGP signature

Reply via email to