Install Fedora on Raspberry Pi

Here’s how to download an install Fedora to a Raspberry Pi, from a Fedora device.

First, download the latest version of Fedora Server specifying the raw.xz image.

Then install Arm Image Installer.

sudo dnf install -y arm-image-installer

Get the device id of the microSD card.

lsblk

Specify the required values, and run the command.

sudo arm-image-installer \
	--image=<path-to-image>/Fedora-Server-39-1.5.aarch64.raw.xz \
	--target=<rpi3 or rpi4> \
	--media=/dev/<device> \
	--resizefs

# Example
sudo arm-image-installer \
      --image=/home/jprice/Downloads/Fedora-Server-39-1.5.aarch64.raw.xz \
      --target=rpi3 \
      --media=/dev/sdb \
      --resizefs

Follow any prompts, and once the command runs (might take around 10 minutes) you can eject the microSD card, insert it into your Raspberry Pi and wait.

After a reboot or two, you’ll be able to configure the image and set the language, timezone, a user, and then it will be good to go, for me it takes about 10 to 15 minutes to get to the configuration prompt.

I ended up also having to extend the root partition to fill the full microSD card.

sudo xfs_growfs /dev/mapper/fedora--server-root

About

I'm a technology professional who's been passionate about computers since my Grandad introduced me to an Intel 386 back in the 90s when I was a kid. Those moments inspired a passion within for technology, and I've been playing around with anything with a circuit board ever since. Whenever I have a moment you can probably find me working on something computer-related, and this is where I like to write about those moments.