Secure Erase is a feature built into every HDD and SSD since 2001.
Secure Erase is a NIST standard that is equivalent to physical destruction.
No information is recoverable, no headers, no metadata, no bad blocks, no hidden partitionsâŚ100% wipe.
The easiest way to access the Secure Erase feature is using: hdparm
# hdparm -I /dev/X
(Replace /dev/X with /dev/sdx: Use âfdisk -lâ to see what theyâre named.)
This will check to see what state the drive is in.
It will say âfrozenâ or ânot frozenâ. If ânot frozenâ then you can proceed with the directions for setting a password and executing Secure Erase.
If it says âFrozenâ you can check the Bios to see if you can change the âfrozenâ state. If notâŚ
Then you have to âhot replugâ if that feature is supported. After first booting into linux, unplug and replug in the HDD. This will change the state from âfrozenâ to ânot frozenâ.
READ about your drives features, is hot replugging possible?
NVMEâs require power to be disabled before unplugging the drives. Know your drive technology.
I have not personally used Secure Erase on any NVME drives so I donât know if it will work on them. With a little research it shouldnât be too difficult to determine if it will.
The easiest way to use âhdparmâ is with a linux iso on a flash drive. Not all linux distroâs include hdparm by default, because itâs a very powerful low level tool that can be a foot gun.
Ubuntu 10.10 iso has âhdparmâ without the need to update and download as in other isoâs. Many distroâs stopped shipping with âhdparmâ after this point in Linux. (Fedtards didnât like people being able to nuke their drives. They attacked the kernel.org ata wiki deleting the secure erase entry and had distroâs remove âhdparmâ from the isoâs. Fun days.)