Fedora IoT and edge devices
It is still Fedora, but on a Raspberry Pi or an edge gateway the questions change: how do you flash the image, how does an unattended device update, and how do you roll back when an upgrade fails. This page covers the Fedora IoT line and how it divides work with the desktop and container scenarios.
What the IoT variant is
Section titled “What the IoT variant is”Fedora IoT’s official positioning is “a foundation for the IoT and Device Edge ecosystem”. The keyword is foundation: it gives you a base on which containers and applications are stacked, not an out-of-the-box industry solution.
Putting it next to the other two immutable lines makes it clearer: the desktop-side Atomic Desktops and the container-side Fedora CoreOS also follow the immutable route. The three target different scenarios; when choosing, look at the device shape and the update method first, not at the names.
One-line selection: to flash a headless device that may live outside the machine room, look at IoT; to try an immutable desktop on a laptop, look at Atomic Desktops; to run a container cluster, take another line.
Images and flashing
Section titled “Images and flashing”The official docs list three installation paths: an Anaconda installation ISO, a prebuilt disk image, and a simplified provisioning ISO (zero-touch installation). Which one you pick depends on the hardware you have.
- Fedora-IoT-ostree-XX.XX.iso (Anaconda installation ISO): the traditional installer, with a graphical flow to configure the filesystem, users and passwords; suited to x86_64 machines or virtual machines;
- Fedora-IoT-raw-XX.XX.raw.xz (prebuilt disk image): flashed straight to storage; the official docs name single-board computers such as the Raspberry Pi 4;
- Fedora-IoT-provisioner-XX.iso (simplified provisioning ISO): zero-touch installation, configured through FIDO Device Onboarding or Ignition as documented officially.
There is an easy boundary to mix up here: within the Fedora family, the official Ignition docs and mechanism belong to Fedora CoreOS; do not treat CoreOS’s Ignition documentation as the init mechanism for IoT or Fedora in general. The IoT zero-touch docs give two configuration paths, FIDO Device Onboarding or Ignition — cite each according to its own documentation.
Flashing itself is not complicated, but two actions are worth fixing in place: check the image version and checksum first (see Fedora downloads and media), then confirm the target device. Raw images especially: they do not install into an existing system, they overwrite the whole disk.
rpm-ostree updates and rollback
Section titled “rpm-ostree updates and rollback”Fedora Atomic has dedicated docs for updates, upgrades and rollbacks; IoT belongs to the same rpm-ostree family (the Anaconda installation image even carries ostree in its name), and the update model is the same: the system switches as a whole “deployment” rather than changing packages one by one.
For edge devices the benefit is direct: an upgrade is a reversible whole-machine switch. You do not compare package versions on the device one by one, and you worry less about a power cut mid-upgrade leaving a half-new, half-old system — when something goes wrong, switch back to the previous deployment. See the official docs for the exact steps:
- Official: Updates, Upgrades & Rollbacks
- Official: Fedora IoT Getting Started
When it fits and when it does not
Section titled “When it fits and when it does not”Fits:
- Remote devices without local operators — whole-machine switching plus rollback is more realistic than repairing a system on site;
- Gateways and edge nodes where containers are the main delivery form;
- Fleets that need reproducible, batch flashing: the same image can be flashed repeatedly.
Does not fit:
- Machines that need frequent system-package changes or kernel and driver experiments — changes to the immutable layer cost more;
- Scenarios depending on traditional partition layouts and custom filesystems;
- “Install once and leave it for years”: IoT images follow the Fedora release line too (the XX.XX in the filename is the release), so the device side needs its own upgrade and replacement plan.
Confirm image and device before flashing
Section titled “Confirm image and device before flashing”Image side:
ls -l Fedora-IoT-raw-*.raw.xzxz -l Fedora-IoT-raw-*.raw.xzsha256sum Fedora-IoT-raw-*.raw.xzxz -l reports the uncompressed size — a raw image overwrites the whole disk, so the uncompressed size must fit the target medium. Work that out before flashing, not after.
Device side:
lsblk -o NAME,SIZE,MODEL,SERIAL,TRANls /dev/disk/by-id/Flash using the by-id path, never something like /dev/sdb whose name changes with plug order:
sudo xz -dc Fedora-IoT-raw-XX.XX.raw.xz | sudo dd of=/dev/disk/by-id/<device> bs=4M status=progress oflag=directsyncConfirming it is an immutable system once it boots
Section titled “Confirming it is an immutable system once it boots”IoT belongs to the same rpm-ostree family as Atomic, and the test is the same — look at the marker file, not at whether the command exists:
ls -l /run/ostree-bootedrpm-ostree statusMeasured on ordinary (package-managed) Fedora, rpm-ostree status refuses outright:
error: This system was not booted via libostree.Currently, most rpm-ostree commands only work on ostree-based host systems.So “rpm-ostree runs on the device” proves nothing; the existence of /run/ostree-booted does.
Related pages
Section titled “Related pages”- Fedora downloads and media — getting images, verifying them and writing the stick
- Atomic desktops and immutable systems — the desktop side of the immutable route
- Using Fedora as a server — server-side trade-offs
- Fedora release cadence and support window — planning the device-side upgrade window
- Official: Fedora IoT, Fedora IoT Getting Started