Installing Ubuntu on MacBook 2019 with macOS Big Sur
I am trying to install Ubuntu on MacBook Pro:
- MacBook Pro (15-inch, 2019)
- macOS Big Sur 11.5.1
- 2,6 GHz 6x Intel Core i7
I created new partition on Mac SSD for second OS and bootable USB with Ubuntu 21.04 installer (installations from USB with versions 20.04 and 20.10 failed). While OS installation I was getting executing grub-install error. I've tried to repair grub and make Ubuntu bootable on MAC after Ubuntu installation but performing all scripts and recommendations I found is failed.
I also tried to install Ubuntu from live Ubuntu session on bootable USB drive with 'ubiquity -b' ('b' option set to not install grub while installation) but in the end all suggestions to make Ubuntu bootable on MAC lead nowhere.
So, best case scenario after all attempts I have Ubuntu installed on Mac SSD partition with no working boot loader.
Is there anyone who could install Ubuntu on Mac with similar configuration or who knows how to do it? Please, share recommendations and tips.
Solution 1:
To install a solid Ubuntu with working grub, mouse, touchpad and wi-fi on MacBook with said configuration I have used a distribution from GitHub repo, where Ubuntu versions for T2 MacBook are posted. I've installed release v20.04-5.7.19-1 (download an ISO image, write it on USB stick with balenaEtcher, create a new disk partition for second OS, enable booting from external media, then run Ubuntu Live and use Ubiquity to install). To enable wi-fi I followed steps proposed AdityaGarg8:
- install necessary kernel modules with DKMS
- upgrade kernel from v5.13.12-1
- follow this guide
After that I have Ubuntu running without problem on Mac with configuration that described in the question.
Solution 2:
Try this:
- Hold cmd-R while booting and type your user password when prompted.
- Open the "Startup Security Utility" from the Utilities menu.
- Set Secure Boot to "No security" and Allowed Boot Media to "Allow booting from external or removable media".
- Restart holding option and select USB drive.