English Chinese (Simplified)
Installing Fedora on a Raspberry Pi for Linux users
This procedure shows Linux users how to add Fedora ARM to a microSD for use with a Raspberry Pi.
_Prerequisites_
Raspberry Pi Model B, version 2 or 3.
A microSD Card (16 GB or larger).
A computer running Linux.
Root user access (via `su` or `sudo`).
SD card reader.
A Fedora ARM image from: link:https://arm.fedoraproject.org/[].
_Procedure_
Download a Fedora ARM image from the link:https://arm.fedoraproject.org/[Fedora ARM website].
Run the following command to extract the `.raw` image and write the image to your microSD card:
The location of your microSD card will be /dev/sdX or /dev/mmcblkX depending on your computer hardware.
$ xzcat *Fedora-IMAGE-NAME.raw.xz* | sudo dd status=progress bs=4M of=*/dev/XXX*
Resize the Root Partition on the microSD using gparted:
$ gparted /dev/XXX
For information on using gparted resize a partition, see: https://gparted.org/display-doc.php?name=help-manual#gparted-resize-partition[GNOME Partition Editor: GParted Manual - Resizing a Partition].
The root partition is shrunk to the smallest size possible to ensure a small download. You currently need to resize it manually. Ideally we would like this to happen automatically (great community project idea!).
Your microSD card is ready to be used with your Raspberry Pi.
Next Steps