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)
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
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)
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?
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.
Paul's solution appears to work for me. I have two partitions on the same disk each with OS X installed, both FV2 encrypted. Moving the DiskUnlock.bundle got rid of the prompt and I haven't seen ill effects other than not being able to unlock the other volume. Of course there should be a better method.
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
Just thought I'd put this here in case people were still following the thread.
Solution here works perfectly for 10.10 and below. The System Integrity Protection introduced in El Capitan (10.11) doesn't allow for moving this plist file to disable it. Any other ideas aside from disabling SIP?
Boot to a different drive and move or delete the file.
Tested on 10.11.3
Prevent FileVault volume from mounting in Lion