From: "Ben Kennish" <[EMAIL PROTECTED]>
> Am I right in saying that the end result of compiling the kernel is simply
> one single 'zImage' file which you can then copy to /boot/ and point LILO
> to?
>
> Thanks,
> ----
> Ben Kennish
> email | [EMAIL PROTECTED]
>
The kernel will install itself when you do 'make install'.
Try:
cd /usr/src
mv linux linux-old
# download a kernel
wget ftp://ftp.kernel.org/pub/linux/kernel/linux-ver.tar.gz
# extract it
tar xzvf linux-ver.tar.gz
# Before compiling you probably want to edit the Makefile here,
# uncommenting the line INSTALL_PATH=/boot
# now configure the kernel
make menuconfig
# build dependencies
make dep
# build compressed kernel image file
make bzImage
# build module files
make modules
# install modules
make modules_install
# install the kernel
make install
The last step will run lilo for you, but if you're paranoid (like me ;)
you'll want to have a look in /boot and check the files match those
referenced in /etc/lilo.conf (e.g. you'll want lilo using /boot/vmlinuz
rather than /boot/vmlinuz-2.2.16). If you change lilo.conf then run 'lilo'
again.
Cheers