tar zxvf linux-2.6.30.5.tar.bz2 #解压到/usr/src目录下
ln -s linux-2.6.30.5 linux #创建连接
make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
depmod -a
cp System.map /boot/System.map-2.6.30.5
cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.30.5
cd /boot/
ls
new-kernel-pkg --mkinitrd --depmod --install 2.6.30.5
ln -s linux-2.6.30.5 linux #创建连接
make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
depmod -a
cp System.map /boot/System.map-2.6.30.5
cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.30.5
cd /boot/
ls
new-kernel-pkg --mkinitrd --depmod --install 2.6.30.5