redhat 9.0 内核2.4.20-8编译
先编译内核
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
depmod -a
再更换内核
cd /boot
mv System.map System.map-old
mv vmlinux vmlinuz-old
mv /usr/src/linux/System.map System.map
mv /usr/src/linux/arch/i386/boot/bzImage ./vmlinuz-2.4.20
最后编辑启动项
vi grub.conf
阅读(844) | 评论(0) | 转发(0) |