$ cd /usr/src $ tar xjf /root/linux-2.6.2.tar.bz2
Create proper linux link to the new directory
$ cd /usr/src/linux $ make menuconfig
$ make bzImage $ make modules $ make modules_install $ cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.2 $ cp System.map /boot/System-2.6.2.map
Modify /etc/lilo.conf and reboot
$ make-kpkg clean $ make-kpkg --revision=toughbook.1.0 kernel_image modules_image kernel_headers $ make-kpkg modules $ cd /usr/src $ dpkg -i <kernel-headers-*.deb> <kernel-image-*.deb>
Check and restart lilo
Note: If a ppc kernel does not compile, with an error message like this at the end of a compile process:
cp: cannot stat `arch/ppc/boot/images/vmlinux.coff': No such file or directory
simply touch the missing file between the clean process and the make process:
$ touch arch/ppc/boot/images/vmlinux.coff
To run this procedure you need these packages:
When the debian kernel is not booting properly and loops with some weird insmod messages it is necessary to do the following steps:
Edit /etc/mkinitrd/modules and add 'ext3' and/or 'ext2' on a separate line each
$ mkinitrd -o /boot/initrd.img-2.4.20-586tsc-test /lib/modules/2.4.20-586tsc/ $ cramfsck -v -x /tmp/foo /boot/initrd.img-2.4.20-586tsc-test
The RAM disk content is then unpacked in /tmp/foo.
$ ipcs