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/

Archaic df42a9a98e Moved chap2 to part2 and a slight rewording. 20 years ago
appendixa d4c025bbcd Fixed SBU definition 20 years ago
appendixb 132fd161b7 * Move HTML tidy to run before obfuscate.sh as they behave badly otherwise (bug 1594) 20 years ago
chapter01 df42a9a98e Moved chap2 to part2 and a slight rewording. 20 years ago
chapter02 c2f2e792fd More nodump roles for mounting in chapter 2 20 years ago
chapter03 18606d24de Alphabetized the util-linux umount patch and updated general.ent. 20 years ago
chapter04 447c9fa7b2 Added nodump roles to the 'aboutlfs' section 20 years ago
chapter05 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 years ago
chapter06 32288165dd Minor grammatical fix. 20 years ago
chapter07 39df528346 Fixed typo (Kim McCall) 20 years ago
chapter08 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 years ago
chapter09 8573b93752 Added a couple more 'nodump' tags 20 years ago
prologue fe88627da6 Adding 'nodump' role to cat /proc/version command 20 years ago
stylesheets 80d66d1587 Updated the stylesheets to use version 1.69.1 20 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 2c5e4d5994 Added dump-commands.xsl. 20 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
general.ent 18606d24de Alphabetized the util-linux umount patch and updated general.ent. 20 years ago
index.xml df42a9a98e Moved chap2 to part2 and a slight rewording. 20 years ago
obfuscate.sh fbb5e45367 Added obfuscate.sh to test it in production mode. 20 years ago
patches.ent be9755e592 Added a patch for util-linux to prevent a umount vulnerability. 20 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