Personal study and documentation repository for Linux From Scratch (LFS) and Beyond Linux From Scratch (BLFS).
The goal of this project is to understand, through practical construction, how a GNU/Linux system is assembled from source.
The study focuses on topics such as:
- GNU/Linux toolchains
- Binutils and GCC
- Linux API headers
- Glibc
- linking and shared libraries
- filesystem hierarchy
- users and permissions
- device management
/dev,/proc, and/sys- system initialization
- systemd
- Linux kernel configuration and compilation
- boot process
- bootloaders
- software compilation and dependencies
- construction of a usable Linux system from source
The objective is not simply to finish an LFS installation, but to understand why each major component exists and how the pieces interact.
The repository follows two main stages:
-
Linux From Scratch
- Build a minimal GNU/Linux system from source.
- Study the toolchain, userspace, kernel, filesystem layout, initialization, and boot process.
-
Beyond Linux From Scratch
- Extend the base LFS system.
- Study additional libraries, networking, security, graphical environments, development tools, and other userspace components.
The primary references are the official projects:
- Linux From Scratch
- Beyond Linux From Scratch
Additional technical references may include official GNU documentation, Linux kernel documentation, project manuals, and man pages.
Documentation will be added gradually as the build progresses.
Possible contents include:
- build logs
- technical notes
- configuration records
- design decisions
- kernel configuration notes
- scripts created during the build
- troubleshooting records
The repository structure will grow organically instead of being created in advance.
Initial preparation and host-system validation.