Menu

Mac OS X not detected?

2013-08-20
2013-08-26
  • Avi Romanoff

    Avi Romanoff - 2013-08-20

    Hi,

    I'm using rEFInd 0.7.3 on a MacBook Air 2012 (5,2). I'm dualbooting OS X 10.8.4 and Ubuntu 13.04, the latter via EFISTUB. I have FileVault 2 full disk encryption enabled in OS X. Naturally, I have rEFInd installed to the ESP. Ubuntu boots just fine via EFISTUB.

    However, Mac OS X is not being detected by rEFInd. To boot into OS X I need to hold alt while booting and load it from there. I have tried fiddling with the sample OS X menuentry in refind.conf but I can't seem to get rEFInd to recognize the loader. I assume this is because I have no idea how to specify the volume. My HD's name, "Air", doesn't seem like it would be visible to rEFInd because I have FileVault 2 on. Trying ":0" and ":1" hasn't worked either. Selecting the boot option I added via the stanza in refind.conf says:

    Starting boot.efi
    Using load options
    Invalid loader file!
    Error: Not Found while loading boot.efi
    
    * Hit any key to continue *
    

    I'm not sure what to do; I've tried Googling around for about an hour with no luck. Any ideas would be immensely appreciated.

     
  • Roderick W. Smith

    Could you please try the following test version:

    http://www.rodsbooks.com/refind_x64_0.7.3.8.efi

    It includes a fix for another bug report that might have a similar cause to yours.

     
  • Avi Romanoff

    Avi Romanoff - 2013-08-20

    Thanks for getting back to me so quickly.

    I have tried using the version you linked but it doesn't seem to have changed the situation. (Didn't seem to make it worse either, fwiw.)

    For what it's worth, I don't mind having to use a manual stanza to boot OS X -- I just can't figure out how to write one given my set-up above.

     
  • joevt

    joevt - 2013-08-20

    When File Vault 2 is used, the Mac is set to boot the "Recovery HD" partition or "Boot OS X" partition - I forget which. I think "Boot OS X" is for booting software raid partitions. Change the boot disk in Startup Disk system preferences panel to your Mac OS X partition. Close the panel, and type "nvram -p" and "bless --info" to see the startup settings. Then setup a stanza that does the same thing.

     

    Last edit: joevt 2013-08-21
  • Avi Romanoff

    Avi Romanoff - 2013-08-20

    I was able to create the proper stanza by using Recovery HD as the volume, as per this post: https://sourceforge.net/p/refind/discussion/general/thread/5c7d0195/#98cc

    So while OS X is still not detected automatically with rEFInd and this set up, it's still rather trivial to get it booting using the above stanza. I'd consider the matter resolved, and suggest that the instructions be added to the official Mac+Linux dual boot guide.

     
  • Roderick W. Smith

    You should be able to get this to work by uncommenting the dont_scan_volumes line in refind.conf and removing the "Recovery HD" option from that line. I've added a short section on this to the rEFInd installation documentation:

    http://www.rodsbooks.com/refind/installing.html#wde

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.