Next Previous Contents

6. Installing a kernel

6.1 Note on ftp.kernel.org

In section 2 above I mentioned you can download a new kernel from ftp://ftp.kernel.org/ However, this site is often too busy to get through and the maintainers of this site encourage you to download the kernel from a location near you. You can access a mirror site by going to ftp://ftp.<country code>.kernel.org/ (like ftp.ca.kernel.org).

6.2 Configuring the kernel

cd $LFS/usr/include
ln -s ../src/linux/include/linux linux
ln -s ../src/linux/include/asm asm

cd /usr/include
ln -s ../src/linux/include/linux linux
ln -s ../src/linux/include/asm asm

6.3 Updating LILO

6.4 Testing the system

Reboot your system and start your LFS system. Verify that the newly installed kernel doesn't perform out-of-the-ordinary actions (such as crashing).


Next Previous Contents