So I followed the instructions (exactly) from this article but when I typed the last command:
"If the drive DOES support Enhanced Security Erase, type:"
hdparm --user-master u --security-erase-enhanced p /dev/sda
it instantly outputted the text it outputs when you type just the hdparm command on its own (it just listed all the arguments I can use it with etc). Still I left it there for about an hour (in a previous command result it said it would take approximately 8 minutes for the enhanced erase) but then I closed the terminal because I was sure something was wrong (also on closing the terminal a window warned me that a process is running, I killed it). After a reboot, the disk was discoverable in bios, but fdisk does not show it and gparted comes up with there 3 error messages:
Libparted Error: Input/output error during write on /dev/sda
Libparted Error: Input/output error during read on /dev/sda
Libparted Warning: Error fsyncing/closing /dev/sda: Input/output error
Upon pressing "retry", "ignore", "cancel" a bunch of times I can finally see the disk in gparted with 1 unallocated partition which I can't create partition tables cause if I try it once again shows all these error messages and in the end "error creating partition (or something like this)".
So, how do I format the disk? I don't care about the data. I just want to install windows on it.
- Disk: Samsung EVO 750 500GB
- I am in a live usb Ubuntu 16
- SSD is connected on a SATA internally
- I also tried just installing ubuntu or windows on it but again, errors come up of the I/O nature (can't create partition)
--security???
options one by one (refer toman hdparm
) and see if I can unlock the disk, in the meantime checking if the disk is readable (head /dev/sda
for example).