How To Fix Intel SSD 8MB bug Using Linux Terminal
Persian Article is Available On Academia.edu
Also You Can Read This Article In My Blog sirvan.me
- Linux Terminal or Mini Linux in Hiren’s Boot CD / USB Tools
- Physical access to your SSD
1- Open Terminal and Enter the following command to get a list of all available harddrives in your computer:
fdisk –l
Locate your Intel SSD in the list and take a note of the device name, for example /dev/sda
2- For get Drives Information Type the command:
sudo hdparm -I /dev/sda
where sda is your SSD device. If you see the following in the output: Serial Number: BAD_CTX that confirms that you are hit by this bug.
If at the Security section it reads frozen you CANNOT continue, you have to use a workaround to eliminate the freeze before you can continue:
So Unplug and then replug the SATA data cable of your Intel SSD while the system is still powered on. So, leave your computer powered on, open up your case, locate the SATA data cable of your Intel SSD, unplug it and then replug it. This should unfreeze your SSD.
3- Check Again Drives Information using This command:
sudo hdparm -I /dev/sda
4- For Set a Password Type the command:
sudo hdparm --user-master u --security-set-pass Password /dev/sda
Again /dev/sda is your SSD drive, and Password is a password you want to set for the SSD.We will need that SOMEPASS later on, so remember it/write it down.
- Check the drive again:
sudo hdparm -I /dev/sda
Now it should say enabled and not frozen at the security section:Security: Master password revision code = 65534 supported enabled not locked not frozen not expired: security count supported: enhanced erase
6- For secure erase Type The command:
sudo hdparm --user-master u --security-erase Password /dev/sda
This issues the secure erase command. Again /dev/sda is your SSD, Password is the password set before. The completion of this operation can take a few minutes. After this your SSD should be functional, if not, try again with this command:
sudo hdparm –user-master u –security-erase-enhanced Password /dev/sda
This latter command takes much more time (30-40 minutes).
7- After this check the drive again:
sudo hdparm -I /dev/sda
The BAD_CTX thing should be gone and your drive should be functional
You can now reinstall your O/S. After all this don’t forget to update the firmware of the SSD using Intel SSD Toolbox to prevent the bug from happening again in the future.
OK, Done. Good Luck :)
Yeah, buying new SSD helped