Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source. http://www.linuxfromscratch.org/lfs/

Randy McMurchy f72850c0db Added documentation installation commands to the Chapter 6 Gawk instructions %!s(int64=17) %!d(string=hai) anos
appendices 59af1dcf3a Updated the Perl instructions, thanks to Greg Shafer for pointing out the issues - This change also required that the Zlib package is built right before the Perl package in Chapter 6 %!s(int64=17) %!d(string=hai) anos
bootscripts 0c051c7ab7 undo premature rename of scripts %!s(int64=17) %!d(string=hai) anos
chapter01 f72850c0db Added documentation installation commands to the Chapter 6 Gawk instructions %!s(int64=17) %!d(string=hai) anos
chapter02 293164a560 Corrected the instruction to untar the E2fsprogs tarball in Section 2.3, thanks to William Immendorf for pointing out the error %!s(int64=17) %!d(string=hai) anos
chapter03 c466df68bb Updated Shadow to 4.1.2.1 %!s(int64=17) %!d(string=hai) anos
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 %!s(int64=18) %!d(string=hai) anos
chapter05 ce69610f7f minor correction - glibc patch paths %!s(int64=17) %!d(string=hai) anos
chapter06 f72850c0db Added documentation installation commands to the Chapter 6 Gawk instructions %!s(int64=17) %!d(string=hai) anos
chapter07 61e63d302c Upgrade Udev to 122, udev-config to 20080522, and lfs-bootscripts to 20080522. Replace "write_net_rules all_interfaces" with a "udevadm test" loop. Fix several typos. Remove the usb_id segfault patch, as it's included in Udev now. Add /lib/udev/devices/kmsg, as udevd uses /dev/kmsg to log a message at startup. Replace udevtrigger/udevinfo with "udevadm trigger" and "udevadm info" in the text. %!s(int64=17) %!d(string=hai) anos
chapter08 c26ddbf2c4 Make title of fstab entry for /dev/shm consistent with kernel documentation %!s(int64=17) %!d(string=hai) anos
chapter09 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 %!s(int64=18) %!d(string=hai) anos
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. %!s(int64=18) %!d(string=hai) anos
prologue e4ab23261c Add note about symlink reqt in Host Requirements %!s(int64=17) %!d(string=hai) anos
stylesheets c1fe047a4d Merged r8368 from new-xsl branch. %!s(int64=18) %!d(string=hai) anos
udev-config 1c4800743d Moved bootscripts and udev-config to BOOK %!s(int64=17) %!d(string=hai) anos
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. %!s(int64=20) %!d(string=hai) anos
Makefile fbb442ea34 More tweaking of Makefile validate rule %!s(int64=17) %!d(string=hai) anos
README 05e94658c6 Updated README and INSTALL. %!s(int64=20) %!d(string=hai) anos
aux-file-data.sh 1c4800743d Moved bootscripts and udev-config to BOOK %!s(int64=17) %!d(string=hai) anos
general.ent b4d202831f Updated the date of the SVN book %!s(int64=17) %!d(string=hai) anos
index.xml 12bc33686f Add udev rules as an appendix %!s(int64=17) %!d(string=hai) anos
make-aux-files.sh 1c4800743d Moved bootscripts and udev-config to BOOK %!s(int64=17) %!d(string=hai) anos
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. %!s(int64=18) %!d(string=hai) anos
packages.ent bfdb0e1908 Updated Module-Init-Tools to 3.4.1 %!s(int64=17) %!d(string=hai) anos
patches.ent a737f40611 Updated Vim to 7.2 %!s(int64=17) %!d(string=hai) anos
process-scripts.sh abcee477f0 Change book build scripts to specify bash, not sh %!s(int64=17) %!d(string=hai) anos
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box %!s(int64=20) %!d(string=hai) anos

README

LFS Book README

This document is meant to instruct the user on how to convert the book's XML
source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not
already done so, please read the INSTALL file for instructions on how to install
the required software. If you have already completed the steps outlined in the
INSTALL file, then continue reading for examples how to convert these files into
various other formats.

XML to XHTML:
-------------
make BASEDIR=/path/to/output/location


XML to single file XHTML (nochunks):
------------------------------------
make BASEDIR=/path/to/output/location nochunks


XML to TXT
----------
Follow the instructions for nochunks and then run:
lynx -dump /path/to/nochunks >/path/to/output


XML to PDF:
-----------
make BASEDIR=/path/to/output/location pdf