Ubuntu – Cannot boot into rEFIt (to choose Ubuntu) on Mac after Yosemite upgrade

bootmacbook promacosxrefindrefit

I've upgraded to Yosemite on MacBook Pro (13 inch, mid 2012 model). Since doing so, I cannot boot into rEFIt; no OS options are available; it just boots into Mac OSX yosemite directly.

  • I tried reinstalling rEFIt, but it didn't work.
  • I tried installing rEFInd with the --esp argument as explained in the manual, but that didn't work either.
  • I installed rEFInd without any argument, just ran the install.sh, and the message shows it can be installed successfully but nothing changed.
  • I installed rEFInd with --alldrivers, and the message shows it can be installed successfully but nothing changed.
  • I ran diskutil corestorage revert /dev/disk1 as explained on this site, and after that I would get just a white screen when trying to boot. I repaired it from recovery –> startup disk.

Ubuntu on Mac is my main OS, so I need to get this working.

Here is the content of my partition inspector from rEFIt.

Current GPT partition table:
 #      Start LBA      End LBA  Type
 1             40       409639  EFI System (FAT)
 2         409640    331171351  Mac OS X HFS+
 3      331171352    332440887  Mac OS X Boot
 4      332440888    333710423  Mac OS X HFS+
 5      333711360    580364287  Unknown
 6      580364288    592750591  Linux Swap
 7      592750592   1465147391  Unknown

Current MBR partition table:
 # A    Start LBA      End LBA  Type
 1              1   1465149167  ee  EFI Protective

MBR contents:
Boot Code: GRUB

Partition at LBA 40:
Boot Code: None
File System: Unknown
Listed in GPT as partition 1, type EFI System (FAT)

Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+

Partition at LBA 331171352:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 3, type Mac OS X Boot

Partition at LBA 332440888:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 4, type Mac OS X HFS+

Partition at LBA 333711360:
Boot Code: None
File System: ext4
Listed in GPT as partition 5, type Unknown

Partition at LBA 580364288:
Boot Code: None
File System: Unknown
Listed in GPT as partition 6, type Linux Swap

Partition at LBA 592750592:
Boot Code: None
File System: ext4
Listed in GPT as partition 7, type Unknown

Best Answer

Did you reinstall rEFIt manually?

If you didn't, try running this on the OSX Terminal

cd /efi/refit   
./enable.sh

When prompted for your password, use the one Yosemite asks you for while trying to install new software.

After that, you should see the boot menu after you restart. When you choose to load Ubuntu from the boot menu, you may be greeted by the grub rescue> terminal" instead of a normal boot, let me know.

By the way, you can also press the option key (alt) just after you hit the power button, and there you'll see some options, including rEFIt. This has the drawback that it must be done on every boot, hence the preference for the terminal solution.

Related Question