Prevent FileVault volume from mounting in Lion

With Lion's new FileVault full-disk encryption, is there a way to stop a (non-boot) partition from mounting on startup/login and asking for a password to unlock it?

MacBook Pro, Mac OS X (10.7)

Posted on Jul 25, 2011 8:40 PM

Reply
20 replies

Apr 25, 2012 10:42 AM in response to Paul Heslop

This is a little bit off topic, but a related bug that might interest people on this thread is that ejecting the disk won't re-lock like it's supposed to.


The manpage for diskutil says "To 're-lock' the volume, make it offline again by ejecting it, e.g. with diskutil eject," but that doesn't seem to work and I have to eject the entire physical disk and turn it off (or un-plug it) to get any encrypted partitions to actually re-lock.

Jan 12, 2013 10:52 AM in response to Josh123

So for prosperity's sake, here's the correct way to disable the automatic mount unlock password prompt for Filevault disks.


Run in Terminal:


sudo mkdir -p /System/Library/LaunchDaemons.Disabled

sudo mv /System/Library/LaunchDaemons/com.apple.corestorage.corestoraged.plist /System/Library/LaunchDaemons.Disabled/com.apple.corestorage.corestoraged.plist

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Prevent FileVault volume from mounting in Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.