How to Securely Erase a Hard-Disk Drive
Hard-disk drives (HDDs) should be securely erased before being sold or recycled. This is a public note-to-self on how to achieve this in a simple and timely manner. Prerequisites The shred binary, which to my knowledge is included in all major Linux distributions. Moreover, you need a HDD which will be subject to secure erasure. You can NOT use shred to SECURELY erase solid-state drives (SSDs) or so-called non-volatile memory express (NVMe) devices. This is due to physical differences in the mechanism used to store information. ...
