%general-entities; ]> Linux-&linux-version; Linux boot Installation of the kernel Here a temporary cross-compiled kernel will be built. When configuring it, select the minimal amount of options required to boot the target machine and build the final system. I.e., no support for sound, printers, etc. will be needed. Also, try to avoid the use of modules if possible, and don't use the resulting kernel image for production systems. If your keyboard isn't an US one, you may want to build the proper keymap for your keyboard layout inside the kernel. Do it by running the following command: Configure the kernel via a menu-driven interface: make ARCH=i386 CROSS_COMPILE=${LFS_TARGET}- menuconfig make ARCH=i386 CROSS_COMPILE=${LFS_TARGET}- If the use of kernel modules can't be avoided, an ${LFS}/etc/modprobe.conf file may be needed. Information pertaining to modules and kernel configuration is located in the kernel documentation in the Documentation directory of the kernel sources tree. The modprobe.conf man page may also be of interest. make ARCH=i386 CROSS_COMPILE=${LFS_TARGET}- \ INSTALL_MOD_PATH=${LFS} modules_install After kernel compilation is complete, additional steps are required to complete the installation. Some files need to be copied to the ${LFS}/boot directory. cp -v arch/i386/boot/bzImage ${LFS}/boot/lfskernel-&linux-version; cp -v System.map ${LFS}/boot/System.map-&linux-version; cp -v .config ${LFS}/boot/config-&linux-version; <para>Details on this package are located in <xref linkend="contents-kernel" role="."/></para> </sect2> </sect1>