On the DVD

On the DVD

Article from Issue 300/2025
Author(s):

Linux From Scratch 12.4 and Debian 13.1 "trixie"

This month's DVD includes a classic Linux distro and a classic tutorial showing you how to build your own Linux distro.

Linux From Scratch 12.4

Side A

Side A comes with the famous Linux From Scratch (LFS) distro-building project [1] and associated files. On the disc, you will find directories with:

  • Linux From Scratch – a book-length tutorial describing how to build your own Linux system
  • Linux From Scratch systemd – a version of Linux From Scratch for today's systemd systems
  • Hints – referred to by the LFS team as "small documents that explain how to do things that are not covered in the LFS or BLFS books." The hints offer alternative configurations and troubleshooting tips.

Also included on this DVD is Gaming Linux From Scratch (GLFS), which helps you set up gaming support software like Steam or Wine. Note that GLFS requires the Beyond Linux From Scratch tutorial, which is not on this DVD but is available online [2].

Important note: Linux From Scratch is not a Linux distro, so you can't boot it like you would with most of our Linux Magazine DVDs. Just mount the disc and access the files using your file manager or a command-line equivalent.

Debian 13.1 "trixie"

Side B (64-bit)

Side B on this month's DVD is Debian 13.1 [3] [4]. Debian is the quintessential community Linux, with vast repositories and a global team of developers. Debian serves as a source for several other well-known Linux distros, including Tails, Ubuntu, and Kali Linux. Version 13.1 is the first update to the major release Debian 13 "trixie," which appeared in August 2025 with more than 14,000 new packages, and is slated to receive five years of support from the Debian team.

Linux From Scratch 12.4

An earlier version of this article appeared in Linux Magazine, issue 251, October 2021.

Linux From Scratch (LFS) and Beyond Linux From Scratch (BLFS) are online tutorials that provide step-by-step instructions for how to compile and assemble your own Linux system from freely available sources. The abbreviation LFS refers to both the documentation and the resulting Linux system.

If you've been around Linux long enough, you have probably come across the need to compile software – either from a homegrown application or possibly from source code available at an open source project website. You might think that compiling an operating system is similar, and in some ways it is, but building a complete operating system is vastly more complicated than compiling your average desktop application.

Keep in mind that the modern distro you are using to build that desktop app already has a complete toolchain that has been tested and approved for compatibility. Imagine that this build environment doesn't exist yet and you have to create it. That includes a compiler and also important libraries such as glibc and libstdc++. The Linux From Scratch instructions (sometimes called the book) contain 11 chapters that are divided into five major parts. The authors break the process of building a Linux system into three stages (Figure 1):

  • Configure a build host
  • Build a cross toolchain and temporarily required tools
  • Create the actual LFS system
Figure 1: The three parts of the LFS build process.

Gerard Beekmans, the author of LFS, started working with Linux in 1998. After using various distributions, he realized that he could not find a "one size fits all" solution, and he would need to build his own system. When he started compiling, he quickly discovered that he had unleashed an onslaught of compile-time errors and circular dependencies. The experience he gained, which he shared with the Linux community, met with such widespread interest that the LFS project was born.

If you follow the instructions, you will end up with a minimal Linux system that includes an ext4 filesystem, Grub 2.12, Kernel 6.16.1, Bash 5.3, GCC 15.2.0, Perl 5.42.0, Python 3.13.7, and Vim 9.1. The build takes a good deal of time: Count on it taking several hours even with the tests turned off.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Linux from Scratch 6.5 Available

    The Linux from Scratch (LFS) intensive training has been updated to version 6.5.

  • Linux from Scratch

    If you really want to learn about Linux, build it from scratch.

  • Buildroot

    Whether you need a tiny OS for 1MB of flash memory or a complex Linux with a graphical stack, you can quickly set up a working operating system using Buildroot.

  • Linux From Scratch

    Linux From Scratch helps you create a custom Linux system with everything you need and nothing more. And as you build your system, you’ll get an insider’s look at how Linux really works.

  • Appweb 3: Embedded Webserver with JavaScript Framework

    The embedded webserver Appweb is available in version 3.0. The new release improves performance, introduces a server-side JavaScript framework and runs on more operating systems than ever before.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News