2.6.11 kernel.
Compiling LFS
- Get the LFS source from here.
If you want to obtain the latest version, checkout from CVS as follows
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/logfs login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/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
#define DEBUGininclude/lfs_kernel.h. However, this produces a lot of debugging output insyslog, and considerably slows your system. - Run top level
make - If you want to compile the documentation, run
makein the doc directory.latexneeds to be installed for it to compile.
Using LFS
- Insert the kernel module
/sbin/insmod lfs.ko - Format a partition to be LFS
lfsprogs/mklfs /dev/foo - 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.