免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 10912 | 回复: 51
打印 上一主题 下一主题

关于RED HATLINUX 2.6.16内核升级问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-20 19:03 |只看该作者 |倒序浏览
我用的是red hat ELS 4.2,他的内核是2.6.9我想把他升到2.6.16上,在配置,编译时都通过了,没任何的问题,可是当我重起选择新的内核起动时就出现了这样的错误:
mkrootdev:label/not found

mount :error 2 mounting ext3

mount:error 2 mounting none

switchroot:mount failed:22

umount/initird/dev failed:2

kernel panic-not syncing: atlempted to kill init!

这是什么原因? 请教高人!!谢了!!!

所用的服务器是DELL 2850的!!

[ 本帖最后由 cxm.cm 于 2006-6-23 15:52 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-06-20 19:07 |只看该作者
网上一找一大堆结果, 把ext3选为*,或者mkinitrd时加上--with=ext3.ko

论坛徽章:
0
3 [报告]
发表于 2006-06-20 19:29 |只看该作者

回复 2楼 albcamus 的帖子

我也象您所说的做了,把ext3选为*,但是还是这样的错误?我也查了相关的资料,但是就解决不了?郁闷啊!!!

论坛徽章:
0
4 [报告]
发表于 2006-06-20 20:28 |只看该作者
修改一下grub试试,将label=#改成/dev/hda*

论坛徽章:
0
5 [报告]
发表于 2006-06-21 09:10 |只看该作者
[root@localhost ~]# vi /etc/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,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.16.16)
        root (hd0,0)
        kernel /vmlinuz-2.6.16.16 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.16.16.img
title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-22.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-22.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-22.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-22.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-22.EL.img
~
"/etc/grub.conf" 25L, 962C written
[root@localhost ~]#
上面是我的GRUB.CONF中的,我用的是red hat els 4 u2,我现在是想升到2.6.16上出现错误!请知道的指点!多谢了!!!


我旧的内核就可以起动的了,但是编的新的就起不了,不知道为什么?

[ 本帖最后由 cxm.cm 于 2006-6-21 09:24 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2006-06-21 09:59 |只看该作者
重新检查一下你的initrd, 是否有包含所有的驱动。包括scsi卡,文件系统等等。我现在正在用的就是自己编译的2.6.16

论坛徽章:
0
7 [报告]
发表于 2006-06-21 12:11 |只看该作者
请知道的给我指点!!!多谢了!
我以前也编译过2.6.16的内核是在PC机上,就成功了,可是我现在是在DELL 2850 的服务器上,编译都成功,但是起动时却失败了如上所示,请知道的人帮我看看!急啊!!!非常感谢!!!

论坛徽章:
0
8 [报告]
发表于 2006-06-21 18:30 |只看该作者
同样的问题!急求解答

论坛徽章:
0
9 [报告]
发表于 2006-06-22 09:17 |只看该作者
目前该问题还没解决,请知道的指点一二,多谢了!!!

论坛徽章:
0
10 [报告]
发表于 2006-06-22 09:46 |只看该作者
我编译2.6.15.6也是同样的错误,看网上资料把ext2,ext3,都编进内核,而且将label=#改成/dev/sda*,我用的是vmware4.5,选用的scsi硬盘,LSI Logic 。把如下的都编译进内核了,还是同样的错,郁闷呀!!!
Device Drivers  --->
  Fusion MPT device support  --->
     <*> Fusion MPT (base + ScsiHost) drivers
     OR
     <*> Fusion MPT ScsiHost drivers for SPI [kernel 2.6.13]
Device Drivers  --->
  SCSI device support  --->
     <*> SCSI device support
     <*> SCSI disk support
         SCSI low-level drivers  --->
            <*> SYM53C8XX Version 2 SCSI support
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP