Ubuntu – OS X no longer visible in rEFInd boot after installing Ubuntu

bootmacosxrefinduefi

I installed rEFInd to ESP on my Macbook Pro Retina running Mavericks (with FileVault on). Here is my partition info:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         199.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s7
   4:                  Apple_HFS Work                    200.0 GB   disk0s5
   5: 0FC63DAF-8483-4772-8E79-3D69D8477DE4               99.7 GB    disk0s6
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Mac                    *199.1 GB   disk1

disk0s6 is my Ubuntu partition.

With this setup, it boots from EFI properly, but only Ubuntu (14.04, upgraded) is shown as an option in the rEFInd boot screen. There is no trace of my OS X disk and the only way I can boot into it is by selecting the disk from an Option-boot screen.

How do I fix this so that both my OS X and Ubuntu are displayed?

Best Answer

Try setting scan_delay 1 in the refind.conf file. (That file should be in the EFI/refind/ directory on your /dev/disk0s1//dev/sda1 partition.) Sometimes rEFInd doesn't scan some partitions in its default configuration. This seems to be the result of an EFI that's sluggish about registering its partitions, so they don't show up when rEFInd first starts. Adding a delay to the scan works around this problem.


EDIT: Sorry; I didn't notice that you're using encryption. Try uncommenting the dont_scan_volumes option in refind.conf and remove "Recovery HD" from the list.