How to wipe a hard drive: Difference between revisions
Jump to navigation
Jump to search
Created page with " == ATA/SATA Drive == use <code>hdparm</code> command: https://grok.lsu.edu/Article.aspx?articleid=16716 == NVME Drive == use <code>nvme</code> command: http://blog.pyth..." |
No edit summary |
||
Line 13: | Line 13: | ||
http://blog.pythonaro.com/2018/05/how-to-securely-wipe-nvme-drive.html | http://blog.pythonaro.com/2018/05/how-to-securely-wipe-nvme-drive.html | ||
* boot from a Ubuntu desktop live image | * boot from a Ubuntu desktop live image | ||
* run <code>apt update</code> and install <code>nvme-cli</code> (may need to add additional repositories to <code>/etc/apt/sources.list</code> | * run <code>apt update</code> and install <code>nvme-cli</code> (may need to add additional repositories to <code>/etc/apt/sources.list</code>) | ||
* put the computer to sleep for a few seconds: <code>systemctl suspend</code> | * put the computer to sleep for a few seconds: <code>systemctl suspend</code> | ||
* now wipe: | * now wipe: |
Latest revision as of 15:59, 27 May 2020
ATA/SATA Drive
use hdparm
command:
https://grok.lsu.edu/Article.aspx?articleid=16716
NVME Drive
use nvme
command:
http://blog.pythonaro.com/2018/05/how-to-securely-wipe-nvme-drive.html
- boot from a Ubuntu desktop live image
- run
apt update
and installnvme-cli
(may need to add additional repositories to/etc/apt/sources.list
) - put the computer to sleep for a few seconds:
systemctl suspend
- now wipe:
nvme format -s1 /dev/nvme0n1 (change to match your drive)