免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2753 | 回复: 2

[系统管理] centOS5.5升级内核后无法进入系统No volume groups found [复制链接]

论坛徽章:
0
发表于 2013-01-03 13:56 |显示全部楼层
本帖最后由 nic122333 于 2013-01-03 14:58 编辑

原来是CentOS5.5 内核2.6.18-274.e15PAE,升级成2.6.21,重启后出错找不到系统分区的挂载点,下面就是系统不能启动、停住的信息:
Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Scanning logica volumes
    Reading all physical volumes. This may take a while...
    No volume groups found
Activating logical volumes
   Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystems.
mount:could not find filesystem '/dev/root'
Setting up other filesystem.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc:No such file or directory
setuproot: error mounting /sys:No such file or directory
Switching to new root and running init.
umounting old /dev
umounting old /proc
umounting old /sys
switchroot: mount failed:No such file or directory
Kernel panic - not syncing:Attempted to kill init!
怀疑是硬盘驱动在编译时没有添加,但是我后来吧SCSI和SATA的全部都加入了,编译后再启动照样出错。

系统的grub是(主要信息):
splashimage=(hd0,1)/grub/splash.xpm.gz

title CentOS(2.6.21)
          root(hd0,1)
          kernel /vmlinuz-2.6.21 ro root=/dev/VolGroup00/LogVol00
          initrd /initrd-2.6.21.img
title CentOS(2.6.18-274.e15PAE)
          root(hd0,1)
          kernel /vmlinuz-2.6.18-274.e15PAE ro root=/dev/VolGroup00/LogVol00
          initrd /initrd-2.6.18-274.e15PAE.img
在2.6.18内核下,在终端中查看挂载信息
df -lhT
/dev/mapper/VolGroup00-Logvol00 ext3 408G 8.4G 379G 3% /
/dev/sda2  ext3 99M 27M 68M 29% /boot
tmpfs   tmpfs 4.0G   0  4.0G 0% /dev/shm

系统分区是不是用LVM做的?
怀疑是新的2.6.21内核对LVM不兼容??
求指点啊

论坛徽章:
0
发表于 2013-01-04 13:38 |显示全部楼层
求版主出没。。。

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
发表于 2013-01-05 16:36 |显示全部楼层
升级内核有风险,一般还是同时装比较妥当.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP