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