Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Best reply

Posted on Sep 27, 2017 9:39 AM

Thought I would update this thread in case it comes up in Google with High Sierra release:


Now that FileVault in High Sierra converts volumes to encrypted APFS volumes, this trick won't work.. any idea about which Daemons to move/hide to prevent unlock message for the APFS volumes?

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

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 ID.