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/

Manuel Canales Esparcia c7dfdfb9b6 Reworded why a 2.6 kernel compiled with GCC-3 is required on the host system. 19 years ago
appendixa 28bb06349a Various textual corrections. Thanks Chris Staub. 19 years ago
appendixb 8e8f00393a Appendices indentation. 19 years ago
appendixc 968d0442c4 Revised dependencies info and typo fixes. 19 years ago
chapter01 c7dfdfb9b6 Reworded why a 2.6 kernel compiled with GCC-3 is required on the host system. 19 years ago
chapter02 0090db5c7b Changed typography convections. 19 years ago
chapter03 7f28bcc030 Updated to lfs-bootscripts-20060415. 19 years ago
chapter04 6a3b6af435 Indented chapter 04. 19 years ago
chapter05 72d7e2822e Moved all dependency information to a new page, Appendix C. 19 years ago
chapter06 631bf297fd Typo fix. 19 years ago
chapter07 0090db5c7b Changed typography convections. 19 years ago
chapter08 0090db5c7b Changed typography convections. 19 years ago
chapter09 13a9dc2d62 Indented chapter01 except changelog.xml. 19 years ago
prologue c7dfdfb9b6 Reworded why a 2.6 kernel compiled with GCC-3 is required on the host system. 19 years ago
stylesheets f347b78b0a Label preface sections using lowercase roman numbers 19 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 7b089c3f09 Changed Makefile to pull the images from the directory into was installed the actual DocBook-XSL version used in our cunstoms stylesheets. 19 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
general.ent 968d0442c4 Revised dependencies info and typo fixes. 19 years ago
index.xml 72d7e2822e Moved all dependency information to a new page, Appendix C. 19 years ago
obfuscate.sh fbb5e45367 Added obfuscate.sh to test it in production mode. 20 years ago
patches.ent 81aee91331 Added patch to glibc to fix build errors in packages that include linux/types.h after sys/kd.h. Thanks to DJ for supplying the patch. 19 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