Now that we seem to know how to create a Fusion Drive manually, how about adding that Boot Camp partition back to your machine, so you can enjoy the new Windows 8 on your Macbook? That’s just what I attempted and here are the findings on how Boot Camp affects the partitioning of the LVM and Fusion Drive.
Here’s the layout before Boot Camp ran:
Potassium:testdir andy$ diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *240.1 GB disk0 1: EFI 209.7 MB disk0s1 2: Apple_CoreStorage 239.7 GB disk0s2 3: Apple_Boot Boot OS X 134.2 MB disk0s3 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *750.2 GB disk1 1: EFI 209.7 MB disk1s1 2: Apple_CoreStorage 749.3 GB disk1s2 3: Apple_Boot Boot OS X 650.0 MB disk1s3 /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: Apple_HFS Macintosh HD *975.0 GB disk2
After going through the Boot Camp assistant, a look at the terminal using diskutil will give you a new layout. A new slice was created, disk1s4, reserved for Windows.
Here’s the output after:
Potassium:testdir andy$ diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *240.1 GB disk0 1: EFI 209.7 MB disk0s1 2: Apple_CoreStorage 239.7 GB disk0s2 3: Apple_Boot Boot OS X 134.2 MB disk0s3 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *750.2 GB disk1 1: EFI 209.7 MB disk1s1 2: Apple_CoreStorage 624.3 GB disk1s2 3: Apple_Boot Boot OS X 650.0 MB disk1s5 4: Microsoft Basic Data BOOTCAMP 125.0 GB disk1s4 /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: Apple_HFS Macintosh HD *850.0 GB disk2
Notice how Mac OS X is installed on disk2, which is the Logical Volume from both disk0 and disk1, aka Fusion Drive. For the Windows partition Boot Camp shrunk the CoreStorage partition on disk1s2 to make room for disk1s4, a proper non LVM partition visible to Windows. Windows will never know what’s on the CoreStorage partition and thus will not be able to let you browse your HFS+ volume from it, but at the same time it can peacefully coexist and boot from the mechanical drive, side-by-side with the Mac OS X Fusion Drive. I would even go as far to say that you could manually partition your own Boot Camp partition on disk0, i.e. shrink disk0s2 manually with diskutil on the SSD to take advantage of the faster SSD on Windows. Shrinking the LVM, by the way, is non-destructive and that’s way the Boot Camp assistant can make room for Windows without destroying the Fusion Drive.
Now, if I could only get the Windows installation to accept the GPT partition. Setup complains that the disk has an MBR layout, when it clearly isn’t. I may have to find a “creative” way of slipstreaming Windows onto that disk.
Update:
I forgot, but the way Boot Camp works is by creating a partition that looks like it resides on an MBR disk to Windows. Unfortunately, that precludes a Windows install in UEFI mode and requires a detour through the legacy BIOS CSM mode. What’s even more painfull is the fact that USB connected media won’t be accessible during boot, so if you have a Macbook Pro, like mine where you removed the optical drive and replaced it with a second hard-disk bay, you will have to remove one disk (the one without the Boot Camp partition) and install the optical drive back to initiate a Windows install. It also looked like my Win8 install wouldn’t start in CSM mode, so I had to go back to install Win7 first and then do a build-to-build upgrade to Windows 8, after having the Boot Camp drivers installed on Win7. If you don’t install the Boot Camp drivers, you may run into a blue screen during the Win8 upgrade. Anyhow, I’m back with Windows 8 installed to my mechanical drive, the same drive that is joined in a Logical Volume on the Fusion Drive LVG. The Macbook Pro is, after all, a really nice Windows PC!