A quick primer for macOS + Linux UEFI dual-boot without borking Clover boot...

  1. Make sure you have a freshly created Clover USB stick (does not need to be an installer, but JHFS with GUID (EFI)... Install latest Clover version onto it, then replace any ACPI/patched/ files as well as Drivers64UEFI/ files + config.plist and Kexts/other/ files

If you use a custom theme, copy that too...

  1. Create USB Linux installer with RUFUS under Windows as UEFI non-csm

  2. Install Linux to it's own DRIVE. Create 200MB EFI System Partition manually during install. I have done 3 different distros based on Ubuntu with no (non-fixable) issues.

  3. Boot into Ubuntu and get the basics configured. Ubuntu will now be default boot, so you will need to use:

sudo efibootmgr (to list entries) and then sudo efibootmgr -o 0003,0001,0002,0000 (EXAMPLE ONLY) to change boot order back with macOS entry first.

  1. Use USB stick to boot back into macOS, use corpnewt's MountEFI script (GitHub) to mount both macOS EFI partition and Linux EFI partition (make sure you remember which is which... it is pretty easy at first, as Linux one is empty).

  2. "ubuntu" folder will be created in macOS drive/EFI partition. You will need to create EFI directory, and then MOVE ubuntu directory from macOS EFI to Linux EFI...

  3. Now, delete everything in macOS internal EFI, reinstall latest Clover onto macOS drive (by default)... you can then mount backup macOS USB EFI and replace all relevant files in macOS internal EFI partition...

  4. You may need to re-enter BIOS and switch boot drive back to macOS drive, but you should now have Clover booting by default, with an added Ubuntu/Linux icon...

Hope this was of some help... I struggled with trying to mess around in Windows 10 via CMD.exe, but it was pretty fruitless. I knew I could mount ALL EFI partitions with MountEFI script... and read/write to all of them from macOS... you just need that working EFI partition on USB to get back there... and efibootmgr command under Linux is a must.

submitted by /u/themacmeister
[link] [comments]