Chinaunix

标题: HELP:编译kenel成功,启动文件也改好了,但是显示还是老版本? [打印本页]

作者: 莲花迦叶    时间: 2005-05-12 16:32
标题: HELP:编译kenel成功,启动文件也改好了,但是显示还是老版本?
REDHAT9,旧的版本是2.4.20-8,我想升到2.4.29,编译什么的都正确啦,新的kernel也在/boot下面有了,
[root@boot]# ls *29*
initrd-2.4.29.img  System.map-2.4.29  vmlinuz-2.4.29;

lilo.conf.anaconda是这样滴
[root@kathy boot]# more /etc/lilo.conf.anaconda
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.29
        label=linux
        initrd=/boot/initrd-2.4.29.img
        read-only
        append="root=LABEL=/"

grub.conf文件是这样滴:
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.29)
        root (hd0,0)
        kernel /vmlinuz-2.4.29 ro root=LABEL=/
        initrd /initrd-2.4.29.img
title Red Hat Linux (2.4.20-
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
我reboot后,uname -r却还是旧的2.4.20-8,为什么哪?那里错了捏?
谢谢!
作者: littleboywj    时间: 2005-05-12 17:33
标题: HELP:编译kenel成功,启动文件也改好了,但是显示还是老版本?
Your grub.conf
"grub.conf文件是这样滴:
default=1
"

And default=1 that's the old one!
You should modify it into default=0!!!!!
作者: flyeagers    时间: 2005-05-12 17:40
标题: HELP:编译kenel成功,启动文件也改好了,但是显示还是老版本?
手动选择一下也可以啊。
作者: 莲花迦叶    时间: 2005-05-16 11:29
标题: HELP:编译kenel成功,启动文件也改好了,但是显示还是老版本?
谢谢2楼的提醒 :);
谢谢3楼的回复,我的机器放在机房,没装显示器,懒得过去装啦;
不过我改完default=0后,系统painc了,看来我还是升级失败了,继续查...




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2