Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 540 Bytes

hdparm.md

File metadata and controls

15 lines (9 loc) · 540 Bytes

Back to Cheatsheets Index

hdparm Cheatsheet

Warning: hdparm can permanently and irreversibly destroy data and physical hardware


Unlock a password protected ATA drive bricked by an interrupted/failed ATA secure erase initiated by GNOME Disk Utility or udisks

Password used by GNOME Disks/udisks to lock the drive during the erase is literally xxxx.

sudo hdparm --security-unlock "xxxx" /dev/<device>

sudo hdparm --security-disable "xxxx" /dev/<device>