%general-entities; ]> How to Build an LFS System 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. 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. explains which packages and patches must be downloaded to build an LFS system, and how to store them on the new file system. discusses the setup of an appropriate working environment. Please read carefully as it explains several important issues you should be aware of before you begin to work your way through and beyond. 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. shows you how to cross-compile basic utilities using the just built cross-toolchain. then enters a "chroot" environment, which uses the new tools to build all the rest of the tools needed to create the LFS system. This effort to isolate the new system from the host distribution may seem excessive. A full technical explanation as to why this is done is provided in . In 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 , and the kernel and boot loader are created in . 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.