Chinaunix

标题: 升级内核的问题 [打印本页]

作者: stardust1900    时间: 2008-09-06 12:15
标题: 升级内核的问题
几个月前装了redhat9.0 内核是2.4的,声卡,显卡都不支持,装驱动的时候系统提醒要更高级的内核
我就去现在2.6的内核重新编译,可是试了几个月了,还没成功....

网上找了很久也没找到解决办法
有人说是grub.conf的配置问题,有人说是编译时有的东西没编译进内核
我又重新试了一次
make menuconfig 时把能选的都选了
grub.conf也按照网上说的方法改了

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

--------------------------------------------------------------------------------------------------------
可是当我选2.6.24进系统的时候还是报错!!
vfs:cannot open device "hda6" or unknow-block(0,0)
kernel panic - not syncing : vfs : unable to mount root fs on unknow-block(0,0)


谁能帮我看看这是什么原因?
不胜感激!
作者: kenduest    时间: 2008-09-06 12:21
原帖由 stardust1900 於 2008-9-6 12:15 發表
幾個月前裝了redhat9.0 內核是2.4的,聲卡,顯卡都不支持,裝驅動的時候系統提醒要更高級的內核
我就去現在2.6的內核重新編譯,可是試了幾個月了,還沒成功....

網上找了很久也沒找到解決辦法
有人說是gru ...


rh9 是已經老古董版本,一堆軟件根本也不符合 kernel 2.6 要求環境。比方 module 格式的改變就不相容於原本 modutils 軟件包的搭配使用。

建議不要浪費時間在這個版本上,請裝 fedora 9 等這類版本。

--
作者: gyp334a    时间: 2008-09-06 23:59
同意LS,可能是2.4和2.6差异太大造成的?
作者: vermouth    时间: 2008-09-07 19:52
搜索一下错误信息,
http://blog.chinaunix.net/u1/37553/showart_350776.html可以解决你的问题。




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