1

Been trying to install 22.04 as dual boot on my old mac mini from 2014. So far I have:

  1. created a bootable usb
  2. installed rEFInd on the mac
  3. divided the main disk into 250 GB for mac and 250 GB is nothing.

I can boot linux from the usb, but when I get to the install bit, I get the message "No other operating systems on the computer"

I did as suggested here: Install ubuntu 18.04 on mac mini 2018

and ran ubiquity -b instead of the standard install; created and formatted the empty disk space as ext4, and did the Something else installation option.

All this completed without error messages, but on booting the mac, I get to the rEFInd launcher, but the only detected os is macos.

Am I missing a crucial step somewhere?

1 Answer 1

1

Because you installed rEFInd under macOS before installing Ubuntu, the refind-install script would have detected no Linux partitions, and would therefore have not installed any EFI filesystem drivers. Without those, and without GRUB 2, rEFInd will be unable to detect the Ubuntu installation.

To resolve the problem, you should install the ext4_x64.efi driver file. You can do this as follows (from memory):

  1. Boot macOS.
  2. Open a Terminal window.
  3. Run the mountesp script that comes with rEFInd. This will mount your EFI System Partition (ESP), probably at /Volumes/ESP. (The script should say where it's mounted.)
  4. Copy the ext4_x64.efi file from the rEFInd directory (wherever you unzipped the .zip file) to /Volumes/ESP/EFI/refind/drivers_x64/ (or adjusted for wherever mountesp mounted the ESP).

At this point, you should be able to reboot and rEFInd should detect the Linux kernel(s) from your Ubuntu installation. If you installed in one big ext4fs partition, rEFInd should be able to boot Linux at this point. If you installed using a separate /boot partition (because you used LVM or for any other reason), then instead of highlighting the Ubuntu entry and pressing Enter, you'll need to hit Tab a couple of times and add a root={something} specification, where {something} is an identifier for your root filesystem.

2
  • Thanks, I looked into this; a really great explanation; unfortunately, I don’t have drivers_x64 directory; but I have ext4_x64.efi is in the refind directory. Should I create drivers_x64 and copy ext4_x64.efi into it maybe?
    – minisaurus
    Feb 22, 2023 at 17:58
  • Yes, put ext4_x64.efi in the EFI\refind\drivers_x64 directory.
    – Rod Smith
    Feb 23, 2023 at 23:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .