rEfind shows multiple Ubuntu choices

Solution 1:

Ubuntu recently renamed MokManager.efi to mmx64.efi, and added fbx64.efi (which just launches GRUB through a new path). rEFInd recognizes MokManager and handles it in a special way, and ignores some known-redundant boot loaders, but this renaming results in both of these programs appearing when they aren't necessary or should be handled in new ways.

I've fixed this problem and released it in rEFInd 0.10.6 -- but please use the latest version available (currently 0.10.7), since 0.10.6 had an unrelated bug that could cause it to hang on some systems.

After you install that and reboot, the fbx64.efi and mmx64.efi options should disappear from the OS list and a new key icon should appear on the second row for mmx64.efi (although that's a tool related to Secure Boot, so it's useless on a Mac, since Macs don't support Secure Boot).

Note, however, that the refind-install script will normally install an EFI filesystem driver for ext4fs, which will normally enable you to launch Linux kernels directly. The result will be one icon to launch GRUB and another to launch your Linux kernel directly. These are redundant, but they also launch Ubuntu in different ways, so there is some value to having them both available -- if one method stops working, the other may continue to work. If you don't want two options to be on the menu, though, you can remove one by deleting the EFI filesystem driver or by using dont_scan_volumes, dont_scan_dirs, or dont_scan_files in refind.conf. See the rEFInd documentation for details, and especially:

  • http://www.rodsbooks.com/refind/configfile.html
  • http://www.rodsbooks.com/refind/linux.html