Installing a kernel

A kernel is the heart of a Linux system. We could use the kernel image from our normal system, but we might as well compile a new kernel from the most recent kernel sources available.

Building the kernel involves a few steps: configuring it and compiling it. There are a few ways to configure the kernel. If you don't like the way this book does it, read the README file and find out what your other options are. Run the following commands to build the kernel:



root:linux# make mrproper
root:linux# make menuconfig
root:linux# make dep
root:linux# make bzImage
root:linux# make modules
root:linux# make modules_install
root:linux# cp arch/i386/boot/bzImage /boot/lfskernel
root:linux# cp System.map /boot