Pages

Sunday, September 12, 2010

Wipe or shred hard drive before selling to remove personal data

sudo shred /dev/sda1 -f -v -z --iterations=1

Where /dev/sda1 is the partition you wish to wipe clean.

Increase the iterations for a "deeper" wipe.

This actually runs two iterations because of the -z.  The first pass is random and the second pass is zeros.

I've also used wipe which seems to be held in higher regard by some.  It just ran and ran on the default settings.. I let it run for a full day and it was still going.

The major problem with wipe is that it does not come on the Ubuntu live disk and shred does.  Makes it a bit easier if connecting to a network is not handy.

If you need to use wipe, you can add it using the package manager, but you have to add the "user contributions" package repository to find it.  -- Lightly paraphrased.

No comments:

Post a Comment