Please ensure you have a restorable backup of your Fedora installation.
Please attempt this only if you’re comfortable with the steps mentioned here and be prepared to do a fresh install.
Read the Partitioning cheatsheet
Use the command line diskutil
in macOS. The gui diskutil can not deal with this properly.
- Comment the “/boot/efi” line in
/etc/fstab
- Copy the contents of the EFI system partition (~500MB FAT/MSDOS partition) from macOS (parts need to be copied back from macOS later)
- Delete the EFI system partition and the ~2.5GB APFS partition directly before that, should have “Fedora” in its name.
- Start the installer (
curl https://alx.sh | sh
), install into the free space (~3GB) and do an UEFI-only install - After completing the installation (in recovery after pressing the power button for ~15 seconds) not press enter to reboot when asked in the terminal. Instead kill the installer with
control + c
and select macOs as startup disk and rebooot into macOS - Copy the saved folders
EFI
andm1n1
from step 2 back to the new EFI system partition and reboot into fedora - Update the UUID of the “/boot/efi” line in
/etc/fstab
and uncomment it