This page explains how to remove Linux from your Mac. It shouldn't matter what distro you are using.
Removing Linux partitions¶
You may want to do this from macOS Recovery as you will be resizing (expanding) your startup disk, although you don't need to.
- In macOS open Disk Utility
- Click "View" then "Show all devices"
- Select your Apple SSD
- Click "Partition". If it suggests adding volumes, don't.
- Select your Linux partition, and click
-to remove it. Your macOS partition should expand to fill the space that Linux was in.
- Click apply.
- Disk Utility will remove your Linux partition and expand your macOS partition. This may take a while, but do not interrupt this process. While it does this, consider the fact that you didn't need admin to remove your Linux partition.
Removing the Linux boot-loader¶
- In macOS run
sudo diskutil mount disk0s1, which mounts your EFI System Partition.
- There will now be an "EFI" disk visible in Finder, open it and go into the "EFI" folder (within the "EFI" disk).
- Remove any folders other than "Apple", "Boot", or "Microsoft".
- Enter the "Boot" folder
- If you don't have Windows installed with Bootcamp, remove
bootx64.efi. If you have Windows installed with Bootcamp, you may want to replace
Microsoft/Boot/bootmgfw.efi, but be careful not to delete the Windows bootloader.
Enable Secure Boot (Optional)¶
- Boot to macOS Recovery by holding
⌘-Ras you turn your Mac on.
- Enable Secure Boot as described here.