%general-entities; ]> Linux-&linux-version;=&linux-version2; 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. A good starting place for setting up the kernel configuration is to run make defconfig. This will set the base configuration to a good state that takes your current system architecture into account. Be sure to enable or disable following features or the system might not work correctly or boot at all: Device Drivers ---> Generic Driver Options ---> () path to uevent helper [*] Maintain a devtmpfs filesystem to mount at /dev [ ] Fallback user-helper invocation for firmware loading Configure the kernel via a menu-driven interface: make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- menuconfig make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- If the use of kernel modules can't be avoided, an /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=${CLFS_TARGET}- \ INSTALL_MOD_PATH=/tools modules_install make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \ INSTALL_MOD_PATH=/tools firmware_install After kernel compilation is complete, additional steps are required to complete the installation. Some files need to be copied to the /tools/boot directory. Issue the following commands to install the kernel: mkdir -pv /tools/boot cp -v arch/i386/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version2; cp -v System.map /tools/boot/System.map-&linux-version2; cp -v .config /tools/boot/config-&linux-version2; <para>Details on this package are located in <xref linkend="contents-kernel" role="."/></para> </sect2> </sect1>