- Vanilla kernel 22.214.171.124 with applied lfs-patch as described in next
- Large block devices (LBD) are supported
- Large files are supported
- Recent version of glibc library is required (e.g., 2.3.6 from Debian
Sarge or current 2.4). This is not
important for compiling file-system but for using it. Some older libraries
(e.g., 2.0.6 from 1997)
contained implementation of readdir() that can return
some directory entries multiple times in case of large directories. This
behavior was also observed using ext3 file-system with indexed
LFS has been developed and tested with vanilla kernel 2.6.17.
- Apply path to configured kernel
$ cd /usr/src/linux-126.96.36.199/
$ patch -p1 <<path_to_lfs_instaltion/patches/lfs-188.8.131.52-1.patch
For your connvenience, a patched kernel is also included on the CD.
Compile your kernel as usually.
- Change to the root directory of LFS distribution. Type:
- Install LFS by typing
$ make install
This will copy the garbage collector to /sbin/lfs-gc,
mkfs.lfs to /sbin/mkfs.lfs,
fsck.lfs to /sbin/fsck.lfs,
dump.lfs to /sbin/dump.lfs and
liblfs.so to /lib/liblfs.so.
It will also install the kernel module to the appropriate directory.
- Optionally, copy man-pages from doc/man to your distribution's
- Load LFS module by:
$ modprobe lfs
LFS is now installed and ready for use. You can proceed to Quick Start
in next chapter