- 论坛徽章:
- 0
|
本帖最后由 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不兼容??
求指点啊 |
|