我的内核编译都没问题,但是在最后。。。
初次进行内核编译,编译成功了,但是内核更新。。。帮我看看什么问题。我的linux 旧内核是 2.2.14-5.0 下载新内核2.2.15来练习内核编译。
我的操作如下:
#cp linux-2.2.15.tar.gz /usr/src
#cd /usr/src
#rm -f linux去链接
#tar -xzvf linux-2.2.15.tar.gz
#mv linux linux-2.2.15
#ln -s linux-2.2.15 linux 建立链接
#cd /usr/src/linux
#make mrproper
#make menuconfig
# make dep
#make clean
#make modules
#make modules_install
(编译过程中没出现任何错误)
把编译好的文件移到/boot下
#cp /usr/src/linux/System.map /boot/System.map-2.2.15
#cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.15
修改链接指向新内核
#cd /boot
#rm -f System.map vmlinuz
#ln -s vmlinuz-2.2.15
#ln -s System.map -2.2.15.map
之后修改启动lilo.conf
vi /etc/lilo.conf
改成
image=/boot/vmlinuz(原来是image=/boot/vmlinuz-2.2.14-5.0)
然后我就重启。
但是来了进入的 还是2。2。14。-5。0的内核。
我还少什么步骤? before 然后我就重启, do u run lilo to make u modification effective?
u need run lilo after modifying lilo.conf, but need not run grub after u modifying grub.conf. lilo -v -v -v,是不时这样 lilo -v -v -v,是不时这样
-v is to give u more msg. lilo is enough.
but u had better add an entry instead of modifying an entry. once u new kernel fails to boot up, u still can use old one to boot.
be sure to enter u new option name when u see lilo: otherwise it still uses the default one, which usually is u old kernel.
页:
[1]