Skip to content

About

Building a Linux system from source and documenting the underlying system architecture, toolchain, and configuration

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

81 Commits

Folders and files

Repository files navigation

Linux From Scratch — 13.1-systemd

Linux From Scratch project x86_64 architecture systemd

Booted and documented Fedora 43 KVM and QEMU

A hands-on build of a complete Linux system from source, following the Linux From Scratch 13.1-systemd book. The project covers the build environment, toolchain, base user space, system configuration, Linux kernel, GRUB and first boot.

Project status

System built and booted. The repository contains evidence of the final system boot, running kernel, systemd state, filesystem layout and GRUB configuration.

This status describes the existence of a bootable system; it does not mean every package test suite passed. Test results are documented separately and must be interpreted from their original logs.

Build environment

Component Configuration
Book Linux From Scratch 13.1-systemd
Host / build VM Fedora 43 Workstation
Virtualization KVM / QEMU
Architecture x86_64
LFS target triplet x86_64-lfs-linux-gnu
LFS build root /mnt/lfs
Build user lfs
Filesystem ext4
Init system systemd

See the build reference and build environment evidence.

Build stages and evidence

Stage Contents
01 — Build environment Fedora environment, KVM/QEMU VM and allocated resources
02 — Storage and filesystem Dedicated LFS disk, partition, ext4 and mount point
03 — Toolchain Captured Binutils/GCC/glibc information and compiler smoke test
04 — Base system Selected component versions and presence-check methodology
05 — System configuration Hostname, locale, timezone, mounts, systemd and shell
06 — Kernel and bootloader Kernel configuration, modules, boot files and GRUB
07 — Testing and validation Existing test-log inventory and validation limitations
08 — Final system GRUB menu, first boot and final system state
09 — Networking and security baseline audit 30 anonymized network/security command captures and audit report

The screenshots/ directory retains its historical name, but includes text captures, scripts and archives as well as images.

Technical documentation

Technical focus

  • Cross-compilation and toolchain construction
  • GNU Binutils, GCC and glibc
  • ELF executables, shared libraries and dynamic linking
  • Filesystem hierarchy and system configuration
  • Linux kernel configuration and modules
  • GRUB bootloader and system initialization with systemd
  • Test-log interpretation and troubleshooting
  • Networking, name resolution, service state and security-baseline evidence

Evidence policy

  • Captured output records what a command reported at collection time.
  • A command-presence check is not proof that a package test suite passed.
  • A compiler's native target is not automatically the LFS target triplet.
  • Test failures, skips and incomplete records must not be relabeled as successful results.
  • The networking/security audit is read-only; it is not a penetration test or security certification.
  • The LFS book itself is not included; use the official LFS 13.1-systemd book.

License

Original repository materials are licensed under GPL-3.0-only. Project copyright and third-party licensing notes are recorded in NOTICE. The LFS book and upstream software remain subject to their own copyright and license terms; see the build reference.


Build · Inspect · Test · Understand

About

Building a Linux system from source and documenting the underlying system architecture, toolchain, and configuration

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages