Immutable root with atomic upgrades

From Alpine Linux
Revision as of 22:27, 18 April 2021 by Mvsn (talk | contribs) (Immutable root with atomic upgrades)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Underconstruction clock icon gray.svg
This page is a work in progress ...

This page is still being developed.


This article provides a basic guide to setting up a read-only-root-based Alpine Linux system with several boot environments and atomic upgrades using rEFInd and btrfs.


Read-only root and atomic upgrades with ability to easily rollback or boot previous configurations is a concept that got some popularity recently. Distributions providing and promoting such features, for example, are Fedora Silverblue, Opensuse MicroOS, NixOS and GNU Guix. While Alpine Linux has it's killer features it lacks mentioned above ones on default setup. This is a proof of concept that it's possible to implement them in a minimal way on a minimal system.

File system structure