New Mac (running Yosemite)? DON’T enable FileVault during set-up..

.. otherwise you’ll end up having to boot into recovery mode, delete Core Storage volumes, format the SSD, re-install OS X, restore everything from Time Machine backup (see my article on clearing away Core Storage volumes – originally written in 2011).

There appears to be a bug:

that affects anybody enabling FileVault during the initial set-up of OS X whether it be an upgrade from OS X Mavericks, a brand new machine, or a re-install of OS X.

Enabling FileVault during the set-up process can seemingly lead to the disk never finishing the initial encryption phase.  It’ll be stuck in “paused” mode forever more.  Some have said that leaving the machine online for 24 hours will fix it.  Some have attempted PRAM, SMC and disk repairs.

But there is only one way to get things moving along: nuking the current OS X Yosemite installation, re-install OS X again, but DON’T enable FileVault during the initial set-up screens.  Instead wait to get to the desktop, open System Preferences -> Security & Privacy -> FileVault and enable it there.

OS X Mountain Lion “clean” install gotcha: Core Storage / encrypted disk issue

Some of the information in this article may be out of date now that OS X Yosemite is the current version of OS X (although I have just experienced an enormous amount of pain with a new Mac shipping with Yosemite – there are STILL problems with FileVault/Core Storage).

There appears to be an issue with the Disk Utility that comes bundled with the Mountain Lion recovery/installation system.

If you are looking to do a completely clean Mountain Lion install, and already have an encrypted filesystem created by FileVault from OS X Lion – you may encounter the following problem when attempting to erase or delete it through Disk Utility. I have been able to reproduce this across two machines now (an early 2011 17″ MacBook Pro and a mid-2011 21″ iMac).

Once you’ve booted from the USB drive and fired up Disk Utility – if you delete the encrypted volume, you’ll find you’ll come across this message:

Disk Encryption Failed
Disk encryption failed with the error

There is not enough free space in the Core Storage logical volume Group for this operation.

You cannot do anything at all with the boot volume – you cannot create a new partition, you cannot install, you are snookered.

However, don’t panic! Just quit Disk Utility, go to the Utilities menu and fire up Terminal. Then issue the command:

which gives you a list of logical CoreStorage volumes (and a physical volume as well – but ignore that). Copy the long UUID string of the logical volume. Now type:

where UUID is that long string of characters. During the process, the text-based progress bar appears for a bit before the confirmation that the volume’s deleted. The whole process looks like this:

IMG_0404-1024x764

 

You can then quit Terminal, fire up Disk Utility, partition to your heart’s content and then finally install a fresh, clean Mountain Lion from scratch. Hoorah.