- Joined
- Aug 16, 2013
- Messages
- 2,190
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
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
And the next
I watched a storage light illuminate continuously on my case's front panel, implying the command was working.
Finally, check results
Feedback welcome.
Source: Thomas-Krenn via Super User
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