
- #SHOULD INSTALL LINUX ON A MAC INSTALL#
- #SHOULD INSTALL LINUX ON A MAC MAC#
Do not forget turning this back on again later! There, open a terminal and execute csrutil disable.
Enter your Mac's recovery options by restaring and holding command+R. #SHOULD INSTALL LINUX ON A MAC INSTALL#
That's why you'll install rEFInd which replaces the default boot manager of your Mac. Installing Ubuntu without its boot manager GRUB means that you cannot easily start it by holding Option when booting your Mac.
If you're on an external drive, be sure to select the right partition in the drop down menu (not just the drive). Select ext4 formatting, click the checkbox that you want the partition to be formatted and enter "/" (without quotes) as "Mount point". Highlight the previously created partition (the 50 GB one in my case) and click "Change". When asked where to install, select "Something Different". Just wait for the installer window to appear and then proceed (this can take a few seconds). This seems to be due to ubiquity's implementation and can be ignored. A warning will appear, that deprecated modules are being used. This way the installer won't try to install the GRUB boot manager which always failed for me. Now comes the part that took me forever to figure out: launch the Ubuntu installer via terminal with the command ubiquity -b. In the dialog that will appear, select "Try Ubuntu" to enter a live session. You're presented with various options of which you'll choose the first one "Ubuntu". Select the "EFI Drive" - that is the boot stick you just created. #SHOULD INSTALL LINUX ON A MAC MAC#
Reboot your Mac and hold the Option key while it is starting. Select "No Security" and "Allow Booting from External Drive". Disable the T2 Boot Security: Reboot and hold Command+R. Choose some name like "UBUNTU", Format "MS-DOS (FAT)" and Scheme "GUID Partition Map". Select your new partition and click "Erase". You are going to need at least 25 GB - I chose to allocate 50 GB which is enough for my use case. For the Linux partition, open Disk Utility, select the hard drive where you want to install Ubuntu and click "Partition". Follow the instructions in the link above for creating the boot stick. So here goes: Preparationsįor the installation, you're going to need a bootable USB stick and a partition on your Mac's internal drive or an external drive where the final installation shall reside. Another source is this Reddit post which, however, is more complicated than necessary IMO. The most important sources turned out to be a great answer here that also covers installing Windows, but lacks information about installing on newer Macs with a T2 chip.
After struggling with this for many hours I thought I'd provide an updated write-up for installing Ubuntu 20.04 on a Mac mini 2018 running macOS Catalina.