Gentoo Linux: Secure and Permanent Hard Disk Erasure
As the formatting procedure of an unencrypted hard drive does not provide a safe method how to prevent a third person from private data revelation, the following method ensures the data sectors are overwritten
N times with random data to provide a guarantee, that nobody can reveal them…
This post deals with software called GNU shred.
$ shred -v /dev/sdX
shred -n N -vz /dev/sdX
N is number of rewrites (default is
X is the
ID of the SATA disk (
hdX in ATA/IDE case).