安装过程: 将新内核copy到/usr/src tar xzvf linux-2.6.22.9.tar.gz ln -s linux-2.6.22.9 linux(建立符号连接,不这样做,应该也可以) cd linux (依次执行下面的命令) make mrproper make menuconfig (这里就是配置编译成模块或是否编译进内核或不选) make bzImage make modules make modules_install mkinitrd /boot/initrd-2.6.22.9.img 2.6.22.9
更换内核: cd /boot cp /usr/src/linux/System.map System.map-2.6.22.9 cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.6.22.9