Restore an old MacBook with Linux | Opensource.com

Restore an old MacBook with Linux

Don't throw your old, slow MacBook into the recycling bin; extend its life with Linux Mint.

Writing Hand
Image credits : 
Startup Stock Photos. Creative Commons CC0 license.
x

Subscribe now

Get the highlights in your inbox every week.

Last year, I wrote about how you can give new life to an old MacBook with Linux, specifically Elementary OS in that instance. Recently, I returned to that circa 2015 MacBook Air and discovered I had lost my login password. I downloaded the latest Elementary OS 5.1.7 Hera release and could not get the live boot to recognize my Broadcom 4360 wireless chipset.

Lately, I have been using Linux Mint to refurbish older laptops, and I thought I would give it a try on this MacBook Air. I downloaded the Linux Mint 20.1 ISO and created a USB boot drive using the Popsicle software on my Linux desktop computer.

popsicle.png

Popsicle ISO burner

(Don Watkins, CC BY-SA 4.0)

Next, I connected the Thunderbolt Ethernet adapter to the MacBook and inserted the USB boot drive. I powered on the system and pressed the Option key on the MacBook to instruct it to start it from a USB drive.

Linux Mint started up nicely in live-boot mode, but the operating system didn't recognize a wireless connection.

Where's my wireless?

This is because Broadcom, the company that makes WiFi cards for Apple devices, doesn't release open source drivers. This is in contrast to Intel, Atheros, and many other chip manufacturers—but it's the chipset used by Apple, so it's a common problem on MacBooks.

I had a hard-wired Ethernet connection to the internet through my Thunderbolt adapter, so I was online. From prior research, I knew that to get the wireless adapter working on this MacBook, I would need to issue three separate commands in the Bash terminal. However, during the installation process, I learned that Linux Mint has a nice built-in Driver Manager that provides an easy graphical user interface to assist with installing the software.

Once that operation completed, I rebooted and brought up my newly refurbished MacBook Air with Linux Mint 20.1 installed. The Broadcom wireless adapter was working properly, allowing me to connect to my wireless network easily.

Installing wireless the manual way

You can accomplish the same task from a terminal. First, purge any vestige of the Broadcom kernel source:

$ sudo apt-get purge bcmwl-kernel-source

Then add a firmware installer:

$ sudo apt install firmware-b43-installer

Finally, install the new firmware for the system:

$ sudo apt install linux-firmware

Using Linux as your Mac

I installed Phoronix Test Suite to get a good snapshot of the MacBook Air.

The system works very well. A recent update to kernel 5.4.0-64-generic revealed that the wireless connection survived, and I have an 866Mbps connection to my home network. The Broadcom FaceTime camera does not work, but everything else works fine.

I really like the Linux Mint Cinnamon 20.1 desktop on this MacBook.

I recommend giving Linux Mint a try if you have an older MacBook that has been rendered slow and inoperable due to macOS updates. I am very impressed with the distribution, and especially how it works on my MacBook Air. It has definitely extended the life expectancy of this powerful little laptop.

Digital images of a computer desktop

It takes about an hour to make an outdated Mac useful again with Fedora.
Coffee and laptop

Elementary OS's latest release, Hera, is an impressive platform for resurrecting an outdated MacBook.

Topics

About the author

Don Watkins - Educator, education technology specialist,  entrepreneur, open source advocate. M.A. in Educational Psychology, MSED in Educational Leadership, Linux system administrator, CCNA, virtualization using Virtual Box. Follow me at @Don_Watkins .