[root@localhost src]# tar vxfj linux-2.4.26.tar.bz2
[root@localhost src]# cd /usr/src/linux -2.4.26
[root@localhost linux-2.4.26]# cp /boot/config-2.4.20-8 .config
[root@localhost linux-2.4.26]# make menuconfig
[root@localhost linux-2.4.26]# make dep
[root@localhost linux-2.4.26]# make clean
[root@localhost linux-2.4.26]# make bzImage
[root@localhost linux-2.4.26]# make modules
[root@localhost linux-2.4.26]# make modules_install
[root@localhost linux-2.4.26]# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.26
[root@localhost linux-2.4.26]# cp .config /boot/config-2.4.26
[root@localhost linux-2.4.26]# cp System.map /boot/System.map-2.4.26
[root@localhost linux-2.4.26]# mkinitrd /boot/initrd-2.4.26.img 2.4.26
[root@localhost linux-2.4.26]# cd /boot
[root@localhost boot]# rm -f System.map vmlinuz
[root@localhost boot]# ln -s System.map-2.4.26 System.map
[root@localhost boot]# ln -s vmlinuz-2.4.26 vmlinuz
[root@localhost boot]# cd grub
[root@localhost grub]# vi grub.conf (注意这里的改法)
[root@localhost grub]# reboot
转自 往事如风