Linux From Scratch
Version 6.0
Gerard
Beekmans
Copyright
� 1999–2004 Gerard Beekmans
Table of Contents
Preface
Foreword
Audience
Prerequisites
Typography
Structure
I. Introduction
1. Introduction
How to Build an LFS System
Changelog
Resources
Help
About the Included CD
2. Preparing a New Partition
Introduction
Creating a New Partition
Creating a File System on the Partition
Mounting the New Partition
II. Preparing for the Build
3. Packages and Patches
Introduction
All Packages
Needed Patches
4. Final Preparations
About $LFS
Creating the $LFS/tools Directory
Adding the LFS User
Setting Up the Environment
About SBUs
About the Test Suites
5. Constructing a Temporary System
Introduction
Host System Requirements
Toolchain Technical Notes
Binutils-2.15.91.0.2 - Pass 1
GCC-3.4.1 - Pass 1
Linux-Libc-Headers-2.6.8.1
Linux-2.6.8.1 Headers
Glibc-2.3.4-20040701
Adjusting the Toolchain
Tcl-8.4.7
Expect-5.42.1
DejaGNU-1.4.4
GCC-3.4.1 - Pass 2
Binutils-2.15.91.0.2 - Pass 2
Gawk-3.1.4
Coreutils-5.2.1
Bzip2-1.0.2
Gzip-1.3.5
Diffutils-2.8.1
Findutils-4.1.20
Make-3.80
Grep-2.5.1
Sed-4.1.2
Gettext-0.14.1
Ncurses-5.4
Patch-2.5.4
Tar-1.14
Texinfo-4.7
Bash-3.0
M4-1.4.2
Bison-1.875a
Flex-2.5.31
Util-linux-2.12b
Perl-5.8.5
Udev-030
Stripping
III. Building the LFS System
6. Installing Basic System Software
Introduction
Mounting Virtual Kernel File Systems
Entering the Chroot Environment
Changing Ownership
Creating Directories
Creating Essential Symlinks
Creating the passwd, group, and log Files
Populating /dev
Linux-Libc-Headers-2.6.8.1
Man-pages-1.67
Glibc-2.3.4-20040701
Re-adjusting the Toolchain
Binutils-2.15.91.0.2
GCC-3.4.1
Coreutils-5.2.1
Zlib-1.2.1
Mktemp-1.5
Iana-Etc-1.01
Findutils-4.1.20
Gawk-3.1.4
Ncurses-5.4
Readline-5.0
Vim-6.3
M4-1.4.2
Bison-1.875a
Less-382
Groff-1.19.1
Sed-4.1.2
Flex-2.5.31
Gettext-0.14.1
Inetutils-1.4.2
Iproute2-2.6.8-040823
Perl-5.8.5
Texinfo-4.7
Autoconf-2.59
Automake-1.9.1
Bash-3.0
File-4.10
Libtool-1.5.8
Bzip2-1.0.2
Diffutils-2.8.1
Kbd-1.12
E2fsprogs-1.35
Grep-2.5.1
Grub-0.95
Gzip-1.3.5
Man-1.5o
Make-3.80
Module-Init-Tools-3.0
Patch-2.5.4
Procps-3.2.3
Psmisc-21.5
Shadow-4.0.4.1
Sysklogd-1.4.1
Sysvinit-2.85
Tar-1.14
Udev-030
Util-linux-2.12b
About Debugging Symbols
Stripping Again
Cleaning Up
7. Setting Up System Bootscripts
Introduction
LFS-Bootscripts-2.2.2
How Do These Bootscripts Work?
Device and Module Handling on an LFS System
Configuring the setclock Script
Configuring the Linux Console
Creating the /etc/inputrc File
The Bash Shell Startup Files
Configuring the sysklogd Script
Configuring the localnet Script
Creating the /etc/hosts File
Configuring the network Script
8. Making the LFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-2.6.8.1
Making the LFS System Bootable
9. The End
The End
Get Counted
Rebooting the System
What Now?
IV. Appendices
A. Acronyms and Terms
B. Acknowledgments
Index