Skip to main content

Replacing macOS with elementary OS. Computer boots normally into elementary OS, but boot menu (opti [Resolved]

I want to replace macOS with elementary OS on a Mac.

I formated the entire hard disk, inserted the elementary OS bootable USB, selected EFI boot on the boot loader (only option) and installed elementary OS. Everything works well.

The computer boots normally into elementary OS, but if I press the option key on boot, nothing shows on the bootloader.

If I install, choose something else and create just the root and swap partition i get a Windows partion on the boot loader. This leads me to think that is something related to installing in the EFI mode.

Does anyone know what could be happening?

Also, why when I insert the live USB, I only get the EFI option and not the windows (bios mode) option when I press the option key?

Edit:

The first method provided by David Anderson worked.

I just want to add that i made a systemd service to clone the grubx64.efi on every reboot/shutdown so that even if this file gets updated, BOOTx64.EFI are updated as well. This will also automate the solution given by David.

This is what i did:

1 - Create a file named startup-manager-fix.service with the following text:

[Unit]
Description=Show EFI Install in Apple Startup Manager
After=rc-local.service

[Service]
Type=oneshot
RemainAfterExit=true
ExecStop=-/bin/mkdir /boot/efi/EFI/BOOT/
ExecStop=/bin/cp -a -f /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/BOOTx64.EFI

[Install]
WantedBy=multi-user.target

2 - Copy the above file to the folder /etc/systemd/system/

3 - Open the terminal and insert this command to activate the service that will sync both files.

sudo systemctl daemon-reload && sudo systemctl enable startup-manager-fix.service && sudo systemctl start startup-manager-fix.service && sudo systemctl daemon-reload

4 - reboot and the next time you access the apple boot selector (press the option key on startup) the elementary OS ( or other Ubuntu based distro) EFI Installation should be present.

Thanks again to David for the solution.


Question Credit: Daisuke Jigen
Question Reference
Asked February 11, 2019
Tags: , boot
Posted Under: Apple
59 views
1 Answers

Your Answer