Dual Boot Mac El Captain along with Ubuntu 14.04

Solution 1:

rEFIt has been abandoned since 2010. I created a fork of it, called rEFInd, which I'm actively maintaining. It's not strictly necessary to use either program, but one or the other (and especially rEFInd) can be helpful.

The main "gotcha" with OS X 10.11 ("El Capitan"), compared to earlier OS X releases, is the new System Integrity Protection (SIP) feature, aka "rootless." This is a security feature that's supposed to make it harder for inexperienced users to cause their systems to self-destruct, or for malware to take control of the computer. This has the undesirable side effect of making it harder to install and use some types of low-level software, including third-party boot managers like rEFIt and rEFInd. In brief, you must disable SIP. Doing this is described on quite a few pages, such as this one and this one. After you install rEFInd, you can re-enable SIP.

There are about a bazillion sites that describe how to install Ubuntu on a Mac. Try to find one that's relatively recent. Also, be aware that it's possible to install Ubuntu in either BIOS/CSM/legacy mode or in EFI mode. The latter is almost always preferable, but a lot of guides (especially older ones) describe the former -- often without properly describing the difference. See this page of mine for basic information on what the Compatibility Support Module (CSM) is and why it's problematic. (That page is geared more towards UEFI-based PCs than Macs, but it's still pretty applicable.)

In broad strokes, I recommend you:

  1. Boot the Ubuntu installer into "try without installing mode."
  2. Open a Terminal program window.
  3. In the Terminal, type ubiquity -b. This will run the Ubuntu installer, but -b tells it to not install a boot loader. If you follow advanced installation options, be sure to use ext4fs as your filesystem. Do not use a separate /boot partition unless you use LVM, RAID, or an encrypted root (/) partition. You may need to shrink your OS X partition to make room for Ubuntu (or you can do that before you start).
  4. When you're done, reboot, but hold down Command+R to boot into the OS X recovery environment.
  5. Launch a Terminal window and type csrutil disable to disable SIP.
  6. Reboot. The system should boot OS X normally.
  7. Install rEFInd.

At this point, when you reboot, rEFInd should appear and give you options to boot either OS X or Ubuntu. Chances are both will work; but if you used a separate /boot partition, you'll have to hit F2 or Insert twice rather than Enter to boot Ubuntu. In the resulting screen, you must add ro root={whatever} to tell the kernel where your root (/) filesystem is; {whatever} is a description of that location, as in /dev/sda7 or /dev/mapper/ubuntu-root. After you boot, running the mkrlconf.sh script that comes with rEFInd should obviate the need for adding the root= option.