首先,在www.kernel.org下载内核代码linux-2.6.35.tar.bz2
然后编译内核:
make dep
make menuconfig
make bzImage
make modules
make modules_install
make install
重启,出现错误:insmod: error inserting '/lib/dm-region-hash.ko' : -1 File exists
解压内核:
cp /boot/initrd-2.6.32.12.img /tmp
cd /tmp/
mkdir newinitrd
cd newinitrd/