( seems possibly related to Is it possible to have multiple filevault2-activated partitions on one disk? )
I have a MBP with a single internal SSD and I'd like:
- to have everything on the disk encrypted in case I lose the laptop
- to have my home dir be case-sensitive b/c i'm used to Linux
- to have personal stuff separate from the OS in order to facilitate future OS updates
- to keep the main system volume case-insensitive to avoid possible OSX weirdness
It seems like what I'd like is either:
- two partitions, both filevault2 encrypted, one regular HFS+ and one case-sensitive HFS+, or
- a filevault2 encrypted CoreStorage container with a regular HFS+ volume and a case-sensitive HFS+ volume in it
Do either of those make sense and, if so, are they possible?
Best Answer
Core Storage:
That's reasonable.
Maybe desirable, but please beware: some software for OS X may not work as expected in that environment. I thought first of Adobe, found examples from 2012 and 2013:
An example – OS X 10.9.5, Mavericks
I used Disk Utility to create two partitions from a USB flash drive (at
/dev/disk12
at the time), then erased each of the unencrypted file systems – and opted to encrypt.For both encryptions I chose the same passphrase that is used to encrypt the FileVault 2 OS X startup volume.
The relevant part of output from
diskutil coreStorage list
:Limitations
I rebooted the Mac to check whether either logical volume family (LVF) was automatically unlocked before loginwindow is launched by launchd. As expected, no automation of that sort.
Issues
With Mavericks I can find no way to create more than one LV within an LVF.
The following articles state that it's possible to do so:
In the Franke article it's remarkable that the same UUID is used to both (a) shrink an existing LV; and (b) create another LV in the same LVF.
Unless I'm missing something, this approach is impossible with Mavericks. For example:
Assuming a bug in Core Storage in Mavericks
We should review this answer – maybe add another – after Yosemite is released.
(I should not expect a fix in Mavericks.)