In the past few years, Apple has adopted the most popular strategy known as “Test In Production”. Majority of the test cases in fact all those which require a little complexity (not effort) are implicitly marked as “TiP (test in production)”, based on the argument that test team can not cover “EVERY” possible test scenario. But more on this later.
Let me share the solution for the FileVault 2 problem that ruined my weekend. They say Apple defied FBI by enabling encryption by default in Yosemite , but they forgot test it properly. So if your mac is unresponsive, stuck on boot screen with the progress bar not moving, or you can go to System Preferences and look at FileVault property page showing the message “Estimating time for encryption” or “Encryption paused” and stuck for hours and hours. Then you have hit an untested scenario by Apple team.
Here is how was able to get it over this issue.
1. First in order to bring the machine in some usable condition, unplug the power adapter, so that filevault pauses whatever it is doing.
2. Now open the terminal (if you can otherwise try hard rebooting the machine)
3. Then enter following command
diskutil cs revert /Volumes/Macintosh\ HD -passphrase
do not forget to replace /Volumes/Macintosh\ HD if needed.
4. Finally reboot machine, plug the power adapter back and go to FileVault property page in System Preferences. You should see that FileVault now starts encrypting the disk again and now hopefully it is running as expected that is showing the progress bar moving.
Remember a 3/4TB SSD/hybrid hard disk may take more than 6 hours to encrypt or decrypt. So be patient and better leave it working overnight.
Post a Comment