Linux from Scratch
Building Linux From Scratch (LFS) is portrayed as a powerful but demanding way to learn how a Linux system is assembled, from toolchains and bootstrapping to package management and init systems. Many describe it as valuable “type 2 fun”: you gain deep troubleshooting skills and an appreciation for distros and package managers, but only if you resist copy‑pasting and instead dig into what each command and option does. Others point to alternatives like Gentoo, NixOS, Buildroot, and Yocto as more practical paths to similar understanding, especially when combined with modern tools, containers, or even AI assistants.
Overall reception & purpose
- Many see Linux From Scratch (LFS) as a valuable but painful “type 2 fun” experience: educational, time‑consuming, and not something they’d repeat often.
- It’s framed as a learning tool and bootstrap exercise, not a sensible daily-driver distro.
- Several people credit LFS (and similar projects like early Gentoo stages) with giving them a lasting “full‑stack” understanding of Linux and a career boost.
Learning outcomes & skills gained
- Understanding how toolchains, libraries, and dynamic linking work (.so files, headers, LD_LIBRARY_PATH).
- Grasping chroot, init, kernel configuration, initramfs, and the general bootstrap process.
- Practical debugging of broken builds, missing dependencies, and cross‑compilation issues.
- Some used LFS/CLFS as the basis for custom or embedded systems, or to design their own package managers.
Copy‑pasting vs understanding; documentation quality
- Several attempted LFS and ended up blindly copy‑pasting commands, then lost motivation.
- Others argue the value is precisely in stopping at each step, reading man pages, upstream docs, and experimenting (e.g., toggling GCC flags).
- Disagreement on the book’s clarity: some say every step is well explained; others say explanations assume too much prior knowledge and rarely justify why specific options or packages are chosen.
- This raises a broader concern that many technical docs overestimate their own clarity.
Toolchains, cross‑compiling, and performance
- Cross‑compiling and multi‑arch support are cited as especially confusing but highly educational; CLFS and embedded variants were praised.
- Old builds on 386/486 hardware were extremely slow; modern hardware and ccache/sccache can substantially improve iteration.
Alternatives and related projects
- Mentioned tools: Stagex (fully bootstrapped, deterministic LFS), Buildroot, Yocto, “build-linux,” Automated LFS, CLFS, and custom Docker‑based frameworks.
- Minimal or “from scratch”‑ish alternatives for real use: Alpine, Void, Artix, Arch, Gentoo, Slackware; some wish for a maintained bare‑bones LFS‑style distro.
Modern tools & learning styles
- Some suggest LLMs now make understanding individual commands and concepts more approachable.
- Debate over video (YouTube) vs written docs for learning: some younger users started with video; others argue good written material is ultimately preferred when it’s clear and discoverable.