It’s been a while since I used Ubuntu or any other Linux distribution outside of Docker containers so I’ve decided to give it a go and see if it’d be suitable for my everyday needs. The laptop I chose is my old MacBook Pro A1398 and I went with Ubuntu 18.04 as it is the most stable Ubuntu version at the moment. As I suspected, it didn’t work right out of the box but the problems I had to deal with were rather minor and I was expecting worse.

Preparation

The most convenient way to install Ubuntu on a MacBook is to download an ISO image from the official website

Optionally, you may also want to verify that the image you downloaded is authentic:

curl -L http://releases.ubuntu.com/bionic/ubuntu-18.04.2-desktop-amd64.iso -O
curl http://releases.ubuntu.com/bionic/SHA256SUMS -O
curl http://releases.ubuntu.com/bionic/SHA256SUMS.gpg -O
gpg --keyid-format long --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x46181433FBB75451 0xD94AA3F0EFE21092
gpg --keyid-format long --list-keys --with-fingerprint 0x46181433FBB75451 0xD94AA3F0EFE21092
gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS
sha256sum -c SHA256SUMS 2>&1 | grep OK

Now that we have an ISO file, we need to burn it to a USB drive and after burning an ISO file, you can turn off your MacBook and turn it on again while holding the Alt key. That way, you will be asked to choose a drive you’d like to boot from. Choose your flash drive and if you have any doubts on which icon represents it, try unplugging it and plugging it again, it should force the boot menu to animate this drive’s icon.

After you boot from your flash drive, it will ask you whether you want to install Ubuntu now or just want to try it without installing. I’d recommend you try it first because this way, you can actually see what you are going to get and it just makes more sense to set up the internet connection before you start the installation process because it will allow you to download all of the system updates and drivers right on the spot.

Issue With Wi-Fi

I’ve never had an Ubuntu with the working network drivers out of the box, even in the old RJ-45 times, so I wasn’t surprised that the system didn’t recognize my MacBook’s Wi-Fi module. Luckily for me, the Bluetooth module was recognized and worked pretty well so I just tethered the Internet connection from my Android phone and that gave me enough bandwidth to allow the installer to fetch all of the updates and drivers during the installation. Once I installed Ubuntu on my laptop, I just opened the “Software & Updates” app and clicked on the “Additional Drivers” tab. This screen displays all of the driver options that are available for your laptop and it allows you to pick the proprietary Broadcom driver that should allow you to use Wi-Fi.

Lamai Beach

Issue With Nvidia Driver

After installing the Broadcom driver, I had a temptation to try proprietary Nvidia driver for my video card. Well, it was a grave mistake. That driver seemed to work fine at first but then I found out that I couldn’t change the screen brightness and it was especially annoying in the presence of the daylight since the “fixed” value was far from the maximum brightness that my display could produce so I could hardly see anything on the screen.

I didn’t worry about that since the default open source video card driver seemed to work fine so I’ve decided to switch back to the default option. I pressed “Apply Changes” and rebooted my laptop but I wasn’t able to start my Ubuntu again! The only thing I saw was a black screen with the message like this:

dev/sda1: clean, n/n files, n/n blocks

To resolve this issue, I had to boot to console in the recovery mode and remove Nvidia driver manually. First thing you need to do if you’re in the same situation is to hold Esc key while booting and once you manage to get to the terminal, just type:

sudo apt-get purge nvidia*

Once I did that I was able to log into my Ubuntu and my brightness controls seemed to work just fine.

Screen Freeze

I’ve been using Ubuntu for 3 days and it seems to be more or less stable but it did become unresponsive once. I’m not sure if it was caused by the previous issue with the video driver or it’s a different issue but I wouldn’t feel too safe running an Ubuntu on a MacBook Pro. This reminded me how important it is to have an auto save feature enabled in text editors and to back up your data every day.

Conclusion

It’s not that hard to get Ubuntu 18.04 up and running on a MacBook Pro but you have to be careful with the drivers. Personally, I’m not planning to use Ubuntu on my MacBook and I’ve already ordered Dell XPS 13 for that purpose because I think that it will be a better fit for a Linux system. I wouldn’t recommend using Ubuntu on MacBook Pro in most of the cases since it plays much better with macOS which is is a pretty solid system for most of the tasks.