If you have installed and are dual-booting macOS on your Linux machine, you will find that the macOS entry doesn’t show up in the Grub menu automatically. If you want to boot into macOS, you will need to manually create a Mac boot entry in Grub. Here we show you the instructions to add the correct boot entry in Grub.
Note: We are using Ubuntu in this tutorial, but the steps should work for other Linux distros.
1. Boot into Ubuntu.
2. Open a terminal and type:
sudo gedit /etc/grub.d/40_custom
Add the following to the end of the file:
menuentry "macOS" { insmod hfsplus set root=(hd0,X) #change X to the Mac partition multiboot /boot }
3. Save and close the file. Back in the terminal, type:
sudo update-grub
If you are using distros other than Ubuntu, use the following command instead:
grub-mkconfig -o /boot/grub/grub.cfg
That’s it. You should now see an extra entry in your Grub screen. Scroll down to the last entry and it will boot into your macOS.
Our latest tutorials delivered straight to your inbox