The rEFInd Boot Manager: rEFInd and Yosemite

# The rEFInd Boot Manager:
rEFInd and Yosemite

by Roderick W. Smith, rodsmith@rodsbooks.com

Originally written: 10/20/2014; last Web page update: 12/8/2014, referencing rEFInd 0.8.4

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

Donate $1.00 | Donate $2.50 | Donate $5.00 | Donate $10.00 | Donate $20.00 | Donate another value

This page is largely obsolete, as of rEFInd 0.8.4. This version of rEFInd makes changes to both its `install.sh` script and default options to make rEFInd better able to cope with OS X 10.10 without the changes to procedure described herein. I'm leaving this page in place for the benefit of those who might be running earlier versions of rEFInd with Yosemite, as well as for general educational purposes. Most readers can skip it.

This page is part of the documentation for the rEFInd boot manager. If a Web search has brought you here, you may want to start at the main page.

Recently, Apple released OS X 10.10 (aka Yosemite), and I've been getting e-mails with problem reports. Unfortunately, my only Mac is an ancient 32-bit model that can't run the latest version, so I can't investigate the cause of the problems myself; however, I think I understand most of what's going on. There are two main problems.

First, Yosemite now uses a type of logical volume management (LVM). The EFI built into the computer can't read from LVM, so an installation of rEFInd on the OS X root (`/`) partition, which is the default when you install rEFInd 0.8.3 and earlier using `install.sh`, is rendered useless.

Second, Apple seems to be placing its standard boot loader for this type of configuration on the `Recovery HD` volume, which had previously been used for (as the name suggests) recovery tools (and also for the regular boot loader when the main partition was encrypted). Because I'd gotten many complaints about the recovery system showing up in the main menu list, I coded rEFInd to ignore the contents of this volume by default. Thus, fixing the first problem results in rEFInd working but not detecting the Yosemite installation. Thanks, Apple, for making it to distinguish between your recovery boot loader and your regular boot loader!

Version 0.8.4 of rEFInd changes both `install.sh` and the rEFInd defaults to bypass these problems. Thus, rEFInd 0.8.4 should work fine when installed from OS X 10.10 using `install.sh` and its default options. If you continue to have problems or if you want to use Yosemite with an earlier version of rEFInd, you can fix the problems manually:

1. Boot to OS X, using whatever means are available to you. Holding Option (or Alt) while powering up will normally give you Apple's own boot manager, which should enable you to boot to OS X. If your rEFInd installation is currently starting but is not showing an OS X option, skip to step #7; but if rEFInd isn't starting, follow steps #2–7.
2. If you've made changes to `/EFI/refind/refind.conf`, back it up.
3. Remove the `/EFI/refind` directory tree; it's useless now, and its presence may cause confusion.
4. Re-install rEFInd, as described in the Installing rEFInd page; but if you install version 0.8.3 or earlier, be sure to use the `--esp` or `--ownhfs `device-file`` option. The latter is preferable, but requires either a dedicated partition for rEFInd or an HFS+ data partition that is currently not bootable. If you install rEFInd 0.8.4 or later, there's no need to specify `--esp` (as that is effectively now the default). You may use `--ownhfs `device-file``, if you like.
5. Ensure that the partition to which you've installed rEFInd is mounted. The details depend on how you installed it:

- If you installed rEFInd to your ESP, typing `mkdir /Volumes/esp` followed by `sudo mount -t msdos /dev/disk0s1 /Volumes/esp` will probably work, although in some cases your ESP won't be `/dev/disk0s1`, so you may need to change this detail.
- If you used the `--ownhfs `device-file`` installation option, the target partition should already be mounted, normally somewhere under `/Volume`. If not, locate it and mount it with Disk Utility or `mount`.

6. If you backed up your `refind.conf` file, you can copy it over your new `refind.conf` file. You should copy the file to either `/Volumes/esp/EFI/refind/` (if you mounted the ESP at `/Volumes/esp` and installed there) or to `/Volumes/`Mountpoint`/System/Library/CoreServices/` (if you used a dedicated HFS+ volume; note that `Mountpoint` will be the name of the volume).
7. Edit your new `refind.conf` file, which should be located as described in the previous step. In your favorite editor, locate the `dont_scan_volumes` line, which is commented out with a `#` symbol at the start of the line by default. Uncomment this line and remove the `"Recovery HD"` item from the line. Some users report that they need to enter one or two dummy entries, as in `dont_scan_volumes foo,bar`, to get it to work.

With these changes made, you should be able to reboot into rEFInd and see entries for both OS X and whatever other OSes you've installed. It's possible that you'll see two entries for OS X, though, one of which will boot to a recovery system and one of which will boot to the regular installation. If you can identify a difference in their descriptions, you may be able to use the `dont_scan_volumes`, `dont_scan_dirs`, or `dont_scan_files` options in `refind.conf` to remove the recovery option from the main list. (You should still see a recovery entry as a second-line option.)

An entirely different approach to fixing this problem is to force Yosemite to install without using LVM. I don't have a specific procedure for doing this, though; you should do a Web search or ask on a Mac-specific Web forum.

copyright © 2014 by Roderick W. Smith

This document is licensed under the terms of the GNU Free Documentation License (FDL), version 1.3.

If you have problems with or comments about this Web page, please e-mail me at rodsmith@rodsbooks.com. Thanks.

Go to the main rEFInd page

rEFInd and System Integrity Protection

Return to my main Web page.