Hard disk hardware write protected

Dr_JRE

Honorable
Aug 12, 2012
423
0
10,960
You are going to need to download linux and run a live disk to change the SATA settings on the drive.

Let's unlock it:

$ sudo hdparm --user-master u --security-unlock p /dev/sdx
security_password="p"

/dev/sdx:
Issuing SECURITY_UNLOCK command, password="p", user=user

and disable security:

$ sudo hdparm --user-master u --security-disable p /dev/sdx
security_password="p"

/dev/sdx:
Issuing SECURITY_DISABLE command, password="p", user=user

Now we're good:

$ sudo hdparm -I /dev/sdx
...
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen