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/

Bruce Dubbs 7204ecf255 Add explanations for kernel options in Section 8.3. Simplified the options due 10 years ago
appendices 98398080e0 Fixes to scripts 10 years ago
bootscripts 98398080e0 Fixes to scripts 10 years ago
chapter01 c5be6346ba Update several URLs in Chapter 3. 10 years ago
chapter02 15458da856 Updates for eudev 10 years ago
chapter03 b17411e849 Fix segfault in shuf program from Coreutils. 10 years ago
chapter04 c5be6346ba Update several URLs in Chapter 3. 10 years ago
chapter05 c5be6346ba Update several URLs in Chapter 3. 10 years ago
chapter06 c5be6346ba Update several URLs in Chapter 3. 10 years ago
chapter07 7204ecf255 Add explanations for kernel options in Section 8.3. Simplified the options due 10 years ago
chapter08 bf58c1eecd Rewrite and reorganize Chapter 7. 10 years ago
chapter09 eec8fcb880 Add acl and attr packages 10 years ago
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. 18 years ago
prologue a139c2502f Update rationale for programs needed by systemd. 10 years ago
stylesheets 28b3209b0a Added libcap-2.24 10 years ago
udev-lfs ee648fdd8c Update to linux-3.14 10 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 19 years ago
Makefile e679f0b4e0 Adjust link to md5sums download in nochunks output. Fixes #3427. 11 years ago
README 2dc4a09ed1 Forcing an update to test RSS fixes. 15 years ago
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. 11 years ago
general.ent c5be6346ba Update several URLs in Chapter 3. 10 years ago
index.xml d944136079 Replaced deprecated w3.org XInclude throughout the book 14 years ago
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure 12 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 years ago
packages.ent c5be6346ba Update several URLs in Chapter 3. 10 years ago
patches.ent e040ad195f Rename coreutils patch. 10 years ago
pdf-fixups.sh e436213b71 Disable pdf-fixups.sh 13 years ago
process-scripts.sh b2b1e1aa5f Move directory to make build easier 12 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 19 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