Securely erasing an internal SSD: Procedure

the_servicer

2[H]4U
2FA
Joined
Aug 16, 2013
Messages
2,221
I tried a couple of live Linux distributions that didn't work for this purpose. Then I tried the latest version of Fedora Workstation on a live disc. It worked (because the hdparm package was immediately available).

You'll need to know the drive's identity and replace "yyy" in all commands below.

Once you have a terminal window open, use the command
Code:
hdparm -I /dev/yyy

The result may not display the word, "not", next to "frozen". If this is the case, then close the terminal window and put the PC in sleep mode for a good while. After powering on and issuing the same command, the word, "not", should appear. (This non-obvious trick came up in a web search.)

Next command
Code:
hdparm --user-master u --security-set-pass Eins /dev/yyy

And the next
Code:
time hdparm --user-master u --security-erase Eins /dev/yyy

I watched a storage light illuminate continuously on my case's front panel, implying the command was working.

Finally, check results
Code:
hdparm -I /dev/yyy

Feedback welcome.

Source: Thomas-Krenn via Super User
 
Anthing that just lets me click a button rather than type a load of stuff in or have to search for the site with the text so I can copy and paste it.
 
Back
Top