LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: shashounn

求助!升级内核后修改grub.conf文件!

[复制链接]
发表于 2004-9-9 15:46:07 | 显示全部楼层
root=/dev/hda8
 楼主| 发表于 2004-9-9 16:34:31 | 显示全部楼层
晕死了,还是不能进入新内核!
NO init found , Try passing init=option to kernel

我的grub.conf文件是这样改的
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,6)
#          kernel /vmlinuz-version ro root=/dev/hda8
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.6.8.1)
        root (hd0,6)
        kernel /vmlinuz-2.6.8.1 ro root=/dev/hda8
        initrd /initrd-2.6.8.1.img
title Red Hat Linux (2.4.20-8)
        root (hd0,6)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1


还是不能进,晕死了!
发表于 2004-9-9 16:54:02 | 显示全部楼层
2.6.8.1的内核?
你是使用rh自己的升级包升级的还是自己编译的内核?
 楼主| 发表于 2004-9-9 19:32:31 | 显示全部楼层
是我在网上下载的升级包,然后看贴子升级的 ~
发表于 2004-9-9 21:00:52 | 显示全部楼层
有没有安装mod-init-tools?
 楼主| 发表于 2004-9-9 22:36:04 | 显示全部楼层
我用的是redhat 9
我是在华军下的内核:http://www.onlinedown.net/soft/26192.htm下的linux-2.6.8.1
然后手动把内核放在/usr/src内,手动解压缩!
然后按照http://www.linuxsir.cn/forum.php?mod=viewthread&tid=68068
文章安装内核
#cd /usr/src/linux-2.6.8.1
#make mrproper
#make menuconfig
#make
#sudo make install
#make modules
#make modules_install
#make install
帮我看一下!
发表于 2004-9-10 00:23:12 | 显示全部楼层
和我的运行环境、故障现象一模一样,烦呀。

2.4.20-8的内核怎么都没问题,2.6.8.1怎么都起不来
 楼主| 发表于 2004-9-10 08:46:13 | 显示全部楼层
怎么办!
发表于 2004-9-10 12:53:36 | 显示全部楼层
你确定,在/boot下有没有initrd-2.6.8.1.img这个文件?
还有,如果是从2.4的内核升级的,需要安装mod-init-tools软件。
 楼主| 发表于 2004-9-10 13:02:55 | 显示全部楼层
我没有安装mod-init-tools!
刚才要安装mod-init-tools是出现了问题!
如下:http://www.linuxsir.cn/forum.php?mod=viewthread&tid=138898
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表