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
KDIR
to point to kernel headers dir, if you want to compile for a specific kernel. - Enable debugging by uncommenting the
#define DEBUG
ininclude/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
make
in the doc directory.latex
needs 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/cases
for 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.