So I spent the holidays (gently) coaxing my Macbook Pro (13" Retina, Late 2013) into becoming a computational cornucopia capable of booting between OS X, Windows 10 and Ubuntu 15.04. Whilst I'm really happy with the results, the process was utterly miserable, requiring about five attempts of fumbling towards a working installation.
To save others from that same misery I've documented my process here. Please note, although these steps worked for me, I can't promise they'll work for you. This isn't a tutorial beginners so please read through the entire guide and decide whether it's within your ability before proceeding (I'm assuming a decent level of familiarity concepts such as partitioning and the terminal). Additionally, I didn't take any screenshots during the process so this guide is written from memory, and while the order of steps is accurate, some of the on-screen text may not match exactly what's written on this page.
That's it with the formalities, let's do this.
We're going to be erasing the entire disk. All files on the machine will be gone. So back it all up using Time Machine, Carbon Copy Cloner, or fax a copy of the hard drive to yourself.
Seriously. Once you've backed up, check it's all there. I'm not responsible for lost baby photos, Monkey Island saved games, or unpublished novels.
Ideally you'll have three USB sticks - one each for OS X, Windows and Linux. If you're a masochist (and let's face it, if you're trying to triple boot a Mac you very may well be) you could probably get by with two and flash Windows/Linux on demand, but this is clumsy because you'll need to flash Windows twice due to Boot Camp.
Download OS X El Capitan from the App Store; it'll land in
/Applications/Install OS X El Capitan.app. Follow Macworld's Guide to create a USB installer. We'll use this twice: once to install OS X, and again at the end of the process to install rEFInd.
NOTE: if you already have a working OS X installation with no other partitions you may be able to skip this step and the next (thereby avoiding deleting your data), and use the recovery partition to install rEFInd in the final step. By this point I'd already hosed my system four times so I had no other option but to perform a fresh install - I do not know if this alternate approach works.
Reboot your machine, holding down
alt) to enter the boot select screen. At the boot menu, select the El Capitan installer using the cursor keys. Enter Disk Utility before commencing installation and reformat the disk with a single partition (this is very important). Complete OS X installation, remove the USB installer and boot into OS X.
Run Boot Camp assistant. When selecting the size of the Boot Camp partition, select the total amount of space you wish to allocate for Windows -and- Linux, combined. Proceed with the Boot Camp process - this will flash the Windows installer to a blank USB stick and download the Boot Camp Windows drivers.
Next up is the important part...
When Boot Camp restarts your machine, hold
Option while rebooting and boot back into OS X instead of the Windows installer. Fire up Disk Utility, and perform these steps:
While we're still in OS X, also do the following:
Downloadsfolder (or anywhere else, just remember where you put it). Don't install it yet. rEFInd is a fork of the rEFIt EFI boot manager; simply put a boot manager is a program that runs before the operating system that allows you to select which operating system to use.
ddit onto a blank USB stick. Instructions here
With the Ubuntu USB stick still inserted, reboot the machine (again, holding
Option), and select the 'EFI Boot' option from the menu. At the GRUB screen, choose to install Ubuntu.
Configure the installation. When it's time to set up the disk partitions, do not select the option to use the entire disk. Instead, choose "Other" and perform these steps:
ext4, mount at
/dev/sda(I'm not sure this is technically correct but on the other hand it doesn't seem to break anything either...)
Continue with the Ubuntu installation.
Once the Ubuntu installation is complete, remove the installation USB when prompted and replace it with the Windows installer. Reboot the machine (again, holding down
Option), and select Windows from the boot menu. Proceed with the Windows installation, taking care to select the FAT32 partition from the list (for me this was the fourth item on the list, after the UEFI boot partition, OS X system partition and what I assume is the OS X recovery partition). Windows will refuse to install on this partition until it's formatted as NTFS, so oblige by selecting the 'Format...'. Installation should now proceed without a hitch.
(during the post-install "setup" phase, my progress bar froze for a good few minutes before completing - if this happens to you just wait it out and it should finish evenutally).
After installing, Windows will reboot. At this point my machine booted straight back into Linux (I guess because the bootloader was installed on
/dev/sda), but that's not a problem - installing rEFInd in the next step will sort this.
Insert the OS X installer USB and reboot (holding down
Option again - last time!). Choose to boot into the El Cap installer, and start Terminal from the menu bar. Assuming you extracted rEFInd to your Downloads directory, Issue these commands, replacing
$USER with your OS X username (and if you put rEFInd somewhere else, substitute the correct location as appropriate):
$ csrutil disable $ cd /Volumes/OS\ X\/Users/$USER/Downloads/refind $ ./refind-install
Reboot the system and remove any USB sticks. You should be greeted with the following screen which allows you to choose the operating system which will infuriate you today:
Job well done, time for an Elderflower Pressé. I hope you've found this guide useful; if you have please do say hello on Twitter.