How to Fix Dual Boot Issue with OS X Yosemite and Ubuntu

If you have followed our previous guide on how to dual boot your Mac with Ubuntu (or any other Linux distro), and you have upgraded your Mac OS X to Yosemite, you will find that the bootloader is overwritten and you won’t be able to dual boot into Ubuntu anymore. If you are having this issue, here is the fix:

The rEFit toolkit that we are using for the previous guide won’t work anymore in OS X Yosemite. To fix this, we will be using rEFInd, which is a fork of the rEFIt boot manager.

1. In OSX Yosemite, Download rEFInd from its Sourceforge page. Extract the zipped file. You should find a “refind-bin-0.8.3” folder.

2. Open the folder and look for an “install.sh” file within. Next, open a Terminal. Type sudo, follow by dragging the “install.sh” file to the terminal, and then append --esp to the end of the command. It should look like this:

Note: replace “/path/to/refind/folder” with the actual filepath of the refind folder.

yosemite-refind-install-command

Press Enter. You will be prompted to enter your password.

3. If the installation of rEFInd is successful, you should be able to find a new mounted drive called EFI. Open Finder and go to the EFI mounted drive. Click to enter the EFI folder. You should see three folders: “APPLE”, “refind” and “tools”.

yosemite-refind-efi-folder

4. Rename the “refind” folder “boot.”

yosemite-refind-rename-refind-folder

5. Open the newly-named “boot” folder. Rename the “refind_x64.efi” file to “bootx64.efi”

yosemite-refind-rename-refindx64-file

6. Now return to the “refind-bin-0.8.3” folder. In the “refind” folder, you should be able to find a “drivers_x64” folder. Copy this folder to the “boot” folder in the EFI drive.

yosemite-refind-move-drivers-x64-folder

7. Rename the “drivers_x64” folder to “drivers.”

That’s it. Reboot your Mac and you will be able to select your Ubuntu (or othe Linux distro) and boot into it.

yosemite-refind-bootloader

Let us know if you have any problems fixing the dual boot issue.

36 comments

  1. I wanted to actually dual boot Linux but I haven’t done it before so could I follow both the original tutorial and this for it to work?

  2. After do all the things you mentioned. Then, I want to change icons on boot menu refind (refit is quite easy because it only needs to change icons directory items and refit.conf file).

    Problem happen!
    Where is the folder the EFI/icons, which is rEFind icons directory? I cannot find it after reboot.

  3. Stuck on step 2. in terminal I typed sudo /path/to/refind/folder/(drag install.sh) >>esp and it is saying command not found. Sometimes it shows the password function but after entering it still says path not found. Can someone please help me?

    • @Jimmy Try running: “mkdir /Volumes/esp” (without the “”) first and then try the “sudo install.sh –esp”

    • This is how it should look when command is successfully entered.
      Mac-6*************:~ user$ sudo /Users/user/Downloads/refind-bin-0.8.3/install.sh –esp
      Installing rEFInd on OS X….
      Installing rEFInd to the partition mounted at /Volumes/ESP
      Copied rEFInd binary files

      Notice: Backed up existing icons directory as icons-backup.
      Existing refind.conf file found; copying sample file as refind.conf-sample
      to avoid overwriting your customizations.

      WARNING: If you have an Advanced Format disk, *DO NOT* attempt to check the
      bless status with ‘bless –info’, since this is known to cause disk corruption
      on some systems!!

      Installation has completed successfully.

      Unmounting install dir
      umount(/Volumes/ESP): Resource busy — try ‘diskutil unmount’

  4. Followed this and now my os x doesn’t show up in boot menu :/
    Windows bootdisk does show.

    Anyone know how to fix this?

    Thanks!

    • I managed to remove the boot dir by mounting the EFI partition in terminal in recovery mode. OS X then started again.

  5. After following these instructions, I see 3 “apple” icons for booting, they are all labeled “boot from recovery”. I have 1 Linux icon, and it leads me to an error “No boot device found”.

  6. I try this Tutorial. Sems to nee that the Installation works but when i want to copy the driver Folder in the boot folder the system says “not enough space”. any Idea?

    Another question: can You Tell me what i have to do when i want to uninstall refind?

  7. I did this and its not working with my dual boot (windows 7)…

    No problems with install but when I boot up it takes a little longer than before and boots up in yosemite without giving me the options to select which OS to boot from.

  8. It is not necessary to rename the refind folder and to copy it to your EFI drive. Install rEFInd in the described way, restart your machine and you will see the boot icons … rEFInd looks into your EFI drive and into the EFI folder in OS X … The problem, that the boot icons are gone will return every time Apple actualize the OS X kernel. You have to learn the bless command (see URL http://www.rodsbooks.com/refind/installing.html#installsh

  9. hi, i have a problem after step 2. I entered my password and then this showed up:

    Usage: /Users/felixnegwer/Downloads/refind-bin-0.8.4/install.sh [–notesp | –usedefault {device-file} | –root {dir} |
    –ownhfs {device-file} ]
    [–nodrivers | –alldrivers] [–shim {shim-filename}]
    [–localkeys] [–yes]

    and I could find the EFI… would be great if somebody could help me.

    Thank you!

    • I could fix my problem now. I downloaded a newer version of rEFInd. and there the you should not use ‘–esp’, instead I used ‘–usedefault device-file’ and then you can go on with step 6. thats it. Thank you…

      • I’m having the same problem as you, but using -usedefault device-file brings up:

        /Users/user/Downloads/refind-bin-0.8.4/install.sh [–notesp | –usedefault {device-file} | –root {dir} |
        –ownhfs {device-file} ]
        [–nodrivers | –alldrivers] [–shim {shim-filename}]
        [–localkeys] [–yes]

        the same way yours did. Could you link me to the new version of rEFInd you used?

        Thanks

      • I’ve followed the steps, without –esp. But it says like the following :

        sudo /Users/arifin/Downloads/refind-bin-0.8.7/install.sh
        ShimSource is none
        Installing rEFInd on OS X….
        Warning: root device could not be found
        Could not find an EFI partition. Aborting!

        any solution? thank you

  10. Ok… so the only problem is that after the update to Yosemite I won’t be able to load Ubuntu, right? I mean: the Ubuntu installation will be safe, I will just have to work to make it loadable again, is that right? To be more precise: I’ve installed rEFInd with Os X 10.8.5 (Mountain Lion) and then I created a dual boot with Ubuntu Studio 14.

  11. Originally, I dual booted os X Mavericks with Linux Mint. I used rEFInd 0.7.7 boot manager. When I downloaded os X Yosemite I was unable to boot into Linux Mint. At this point, I have tried 0.8.3 and 0.8.4 rEFInd and both displayed os X Yosemite and Linux Mint, but it still won’t boot into Linux Mint.The error message that I keep getting says, “No bootable device — insert boot disk and press any key”. Any suggestions?

  12. For anyone strolling through, there has been an update to rEFInd (0.8.4) that fixes this problem. Simply re-install with –notesp option (delete bless if you were using rEFIt) by running install.sh and reboot.

  13. Worked perfectly.
    The only thing I had to change was the install command.
    sh install.sh worked for me.
    Thanks for the tutorial.
    Philipp

  14. Booting your Mac via rEFIt please try this command

    Open a terminal window and install rEFIt via:

    cd /efi/refit
    ./enable.sh

    and reboot !

    should be worked

  15. I also keep getting No bootable device. This usb has worked installing Kali Unix in Visual Box.

  16. It’s a pig’s job and not an IT job. I tried your command that failed. You shouldn’t publish unix related job because you are unqualified.

  17. when I reboot or restart with it installed, I don’t get the page to let me choose. Anyone help?

Comments are closed.

Sponsored Stories