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 noone can reveal them.

Simple usage

shred -v /dev/sdX

Advanced usage

shred -n N -vz /dev/sdX

where N is number of rewrites (default is 3) and X is the ID of the SATA disk (hdX in ATA/IDE case).


This entry was posted in Linux, Security and tagged , , , , , . Bookmark the permalink.