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/

Gerard Beekmans 6d9da8eb76 Minor edit. 16 years ago
appendices 6a4a95fd50 Various dependency fixes from Chris Staub. Fixes #2368. 16 years ago
bootscripts 63f6e21758 Change the bootsripts and udev configuration so the rtc is set by udev upon boot. 16 years ago
chapter01 cff800e071 Various edits, some addressing #2092 and #2326. 16 years ago
chapter02 293164a560 Corrected the instruction to untar the E2fsprogs tarball in Section 2.3, thanks to William Immendorf for pointing out the error 17 years ago
chapter03 9d2b364218 Upgrade to Glibc-2.10.1. Fixes #2401. 16 years ago
chapter04 6d9da8eb76 Minor edit. 16 years ago
chapter05 e311865254 Verbosely move mpfr and gmp. 16 years ago
chapter06 98d78cff04 Clarified the interprtation of test results in GMP. 16 years ago
chapter07 63f6e21758 Change the bootsripts and udev configuration so the rtc is set by udev upon boot. 16 years ago
chapter08 5612386f41 Add role="nodump" to the screen tag containing the hdparm command, so jhalfs doesn't try to run it automatically. Thanks to DJ Lucas for the report. 16 years ago
chapter09 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. 18 years ago
prologue 2f3f2225bc Couple more Preface edits. 16 years ago
stylesheets 77e2988b31 Minor changes for consistent pdf generation 16 years ago
udev-config 63f6e21758 Change the bootsripts and udev configuration so the rtc is set by udev upon boot. 16 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 6d13ffb55c process-scripts.sh and make-aux-files.sh don't currently make use of command line parameters. 16 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
aux-file-data.sh f56f0428d3 Date type and remove some tab characters 16 years ago
general.ent ee95f792fc 16 years ago
index.xml 12bc33686f Add udev rules as an appendix 17 years ago
make-aux-files.sh 1c4800743d Moved bootscripts and udev-config to BOOK 17 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 18 years ago
packages.ent 63f6e21758 Change the bootsripts and udev configuration so the rtc is set by udev upon boot. 16 years ago
patches.ent 9d2b364218 Upgrade to Glibc-2.10.1. Fixes #2401. 16 years ago
process-scripts.sh abcee477f0 Change book build scripts to specify bash, not sh 17 years ago
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box 20 years ago

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