- Get the LFS source from here.
If you want to obtain the latest version, checkout from CVS as follows
cvs -d:pserver:email@example.com:/cvsroot/logfs login cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/logfs co -r stable -P lfs
- Change the
KDIRto point to kernel headers dir, if you want to compile for a specific kernel.
- Enable debugging by uncommenting the
include/lfs_kernel.h. However, this produces a lot of debugging output in
syslog, and considerably slows your system.
- Run top level
- If you want to compile the documentation, run
makein the doc directory.
latexneeds to be installed for it to compile.
- Insert the kernel module
- Format a partition to be LFS
- Mount it
mount -t lfs /dev/foo /mnt/foo
- Check the file
doc/casesfor working scenarios, and start with testing them
- If you have gotten this far, you know what to do next :-) Just play with LFS, and let me know if you find any thing wierd.