RedhatLinux官方编译内核步骤
cd /usr/src
bzcat linux-2.4.17.tar.bz | tar xvf -
cd linux
make config | make menuconfig | make xconfig
make dep
make clean
make bzImage
make modules (if modular kernel)
make modules_install (if modular kernel)
cp System.map /boot/System.map-2.4.17
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.17
cp .config /boot/config-2.4.17
mkinitrd /boot/initrd-<version> <kernel version> # Depending on kernel configuration
Update LILO or GRUB
Reboot into new kernel