spock
5/12/2017 - 11:45 AM

Erasing SSD

Erasing SSD

  1. Boot with a live USB stick.
  2. Get name of SSD by running lsblk
  3. Run this command:
sudo hdparm --user-master u --security-set-pass 1234 /dev/sda &&
sudo hdparm --user-master u --sanitize-crypto-scramble 1234 /dev/sda

Troubleshooting:

  • Eventually you may shneed to unfreeze drive by running:
sudo rtcwake -m disk -s 10