A developer shares their experience building a full Linux distribution called agunix from scratch, going beyond simple Linux systems to create something distributable. The post covers the two core requirements for a real distro: a package manager and self-hosting capability. It details the bootstrapping process, cross-compilation, building base packages (musl libc, busybox, gcc, etc.), graduating from a chroot to real hardware, deploying infrastructure on the distro itself, and the ongoing packaging effort. After four attempts and 407 packages, the author still hasn't reached a working desktop environment, highlighting just how much work building a real distribution entails.

6m read timeFrom drewdevault.com
Post cover image

Sort: