The LFS system will be built by using an already installed Linux distribution (such as Debian, OpenMandriva, Fedora, or openSUSE). This existing Linux system (the host) will be used as a starting point to provide necessary programs, including a compiler, linker, and shell, to build the new system. Select the « development » option during the distribution installation to include these tools.
As an alternative to installing a separate distribution on your machine, you may wish to use a LiveCD from a commercial distribution.
Chapitre 2 of this book describes how to create a new Linux native partition and file system, where the new LFS system will be compiled and installed. Chapitre 3 explains which packages and patches must be downloaded to build an LFS system, and how to store them on the new file system. Chapitre 4 discusses the setup of an appropriate working environment. Please read Chapitre 4 carefully as it explains several important issues you should be aware of before you begin to work your way through Chapitre 5 and beyond.
Chapitre 5 explains the installation of the initial tool chain, (binutils, gcc, and glibc) using cross-compilation techniques to isolate the new tools from the host system.
Le Chapitre 6 montre comment vous pouvez compiler les outils de base avec la chaîne de construction croisée tout juste construite.
Chapitre 7 then enters a "chroot" environment, where we use the new tools to build all the rest of the tools needed to create the LFS system.
Cet effort consistant à isoler le nouveau système de la distribution hôte peut sembler excessif. Une explication technique complète est fournie dans Notes techniques sur la chaîne d'outils.
In Chapitre 8 the full-blown LFS system is built. Another advantage provided by the chroot environment is that it allows you to continue using the host system while LFS is being built. While waiting for package compilations to complete, you can continue using your computer as usual.
To finish the installation, the basic system configuration is set up in Chapitre 9, and the kernel and boot loader are created in Chapitre 10. Chapitre 11 contains information on continuing the LFS experience beyond this book. After the steps in this chapter have been implemented, the computer is ready to boot into the new LFS system.
This is the process in a nutshell. Detailed information on each step is presented in the following chapters. Items that seem complicated now will be clarified, and everything will fall into place as you commence your LFS adventure.