DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Beyond Containers: Docker-First Mobile Build Pipelines (Android and iOS) — End-to-End from Code to Artifact
  • Mastering macOS Client-Server Application Testing: Tools and Key Differences
  • Mastering Secure Connections: A Comprehensive Guide to Accessing Sybase Databases From macOS
  • Top Three Methods for iOS Development on Linux

Trending

  • How to Save Money Using Custom LLMs for Specific Tasks
  • Deployment Lessons You Only Learn the Hard Way
  • The Agentic Agile Office: Streamlining Enterprise Agile With Autonomous AI Agents
  • Compliance Automated Standard Solution (COMPASS), Part 11: Compliance as Code, the OSCAL MCP Server Way

Installing or Upgrading to Fedora 37 on MacBook Pro 13-Inch (Late 2011)

This tutorial guides you through how to update to the latest Fedora on your old Macbook Pro 13 inch from late 2011!

By 
Eric D.  Schabell user avatar
Eric D. Schabell
DZone Core CORE ·
Jan. 10, 23 · Tutorial
Likes (3)
Comment
Save
Tweet
Share
1.9K Views

Join the DZone community and get the full member experience.

Join For Free

This weekend I decided to update my old MacBook Pro 13 inch from late 2011, with 125GB SSD and 8GB RAM. It's a machine I've taken on trips around the world and back in the day ran many a session, workshop, or demo on sharing all that developer goodness.

Last time we checked, this was installed using Fedora 36, so how about an update to Fedora 37?

Fedora Linux 37

Below are the steps and adjustments needed to get Fedora 37 working on these laptops in under an hour.

On Windows or MacOS? Get Fedora 36

Yes, you read that right.

You need to first install Fedora 36, and then I'll share with you how to update to Fedora 37 afterward. The reason for this is that the current Fedora 37 ISO on a USB stick with the Fedora Media Writer is broken. During the installation you will be presented with the following error message:

 
Bootloader installation has failed: Failed to set new efi boot target. This is most likely a kernel or firmware bug.


For a complete guide on the Fedora 36 installation, see my previous article in this series linked earlier.

Updating to Fedora 37

This part is best done on the command line to ensure each step of the process is run without problems. Log in and open a terminal to start (note, you might need to set a new root user password with sudu passwd root):

$ sudo dnf --refresh update
$ sudo dnf upgrade


Now reboot your system to start the upgrade:

$ sudo reboot

Install the upgrade plugin using the dnf command: 
$ sudo dnf install dnf-plugin-system-upgrade

Download all the latest packages for Fedora 37 using this command: 
$ sudo dnf system-upgrade download --releasever=37

Once the download finishes, the following will cause a reboot, and the actual upgrade starts. Note this takes some time: 
$ sudo dnf system-upgrade reboot

Upgrading system screen photo

You will see a reboot and then upgrading tasks will commence. Once completed, your machine will reboot automatically into Fedora 37.

Machine reboot screen

Now let's see what the deal is with our missing wifi card as we've been doing this install from a wired network line and the upgrade lost our Fedora 36 wifi setup.

Wi-Fi Setup

Now the only thing missing is a Wi-Fi driver, so there are a few things to be done that require that the network cable be connected as we install the development packages for the kernel we are running and then build the broadcom-wl driver for that kernel.

Let's verify the actual card we need for wifi in a terminal:

$ lspci -vnn -d 14e4:


The output will be several items, one of which should be listing something like:

Network controller [0280]: Broadcom Inc. and subsidiaries...
Subsystem: Apple Inc. AirPort Extreme...


We now need to install a few repositories to pull all the Broadcom stuff from:

$ su -c 'dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm'


And also the non-free version:

$ su -c 'dnf install -y http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'


We are going to need the development kernel packages to build our Broadcom wireless driver, so let's explore the available kernels:

$ sudo dnf list kernel

kernel.x86_64            5.17.5-300.fc36
kernel.x86_64            6.0.15-200.fc36
kernel.x86_64            6.0.15-300.fc37


Install the development packages with the following:

$ sudo dnf install -y akmods kernel-devel


You'll see a lot of packages scroll by and then the development kernel package install, which is the kernel-devel-6.0.15-300.fc37 package:

Packages scrolling screen

Now install the Broadcom Wireless package:

$ sudo dnf install -y broadcom-wl


Then build the kernel module:

$sudo akmods

Checking mods exist for 6.0.15-300.fc37.x86_64    [OK]


Next, reboot your machine and you should be able to view the wireless driver (wl) with the following:

$ lsmod | grep wl


Now set up your wireless connection in Fedora in the top right drop-down menu.

This is a bit of a different type of installation from if you were following along the last time, but we still made it to Fedora 37. I hope you enjoyed this starting-the-year update to the latest Fedora on your old MacBook Pro 13 inch from late 2011!

Fedora (operating system) MacBook (Retina) MacOS

Published at DZone with permission of Eric D. Schabell. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Beyond Containers: Docker-First Mobile Build Pipelines (Android and iOS) — End-to-End from Code to Artifact
  • Mastering macOS Client-Server Application Testing: Tools and Key Differences
  • Mastering Secure Connections: A Comprehensive Guide to Accessing Sybase Databases From macOS
  • Top Three Methods for iOS Development on Linux

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook