Problem:
I have a USB key with Mountain Lion on it and I want to install it on my MacBook Pro. I deleted the existing partition on the laptop and wanted to create a new one where to install the OS but can't because everything in the partition tab for the drive is grayed out.
Basically, I can't do anything until I unlock the partition. So the question is: how to unlock a partition from disk utility or the command line?
Best Answer
I looked first hand into this problem and the following commands unlocked and formatted the disk, although Disk Utility could not.
Should show something like this:
Then format the disk in question. In this case, disk1.
You should see this:
The following web pages helped me figure this out and might be of use to somebody else.
https://discussions.apple.com/thread/4091299?start=0&tstart=0
http://derflounder.wordpress.com/2011/11/23/using-the-command-line-to-unlock-or-decrypt-your-filevault-2-encrypted-boot-drive/