内核升级至2.6.22.6以后不能启动,似乎是找不到硬盘?
我现在用的系统是在VM 5.5下面装的Red Hat Enterprise AS 4,内核版本2.6.9-42.EL。
硬盘设置为SCSI,8G.
在kernel.org里下下来2.6.22.6版本的内核以后,
解压,make menuconfig,使用的是2.6.9-42.EL留下的设置,
make, make modules_install, make install均没有问题(make install自动设置grub启动和img文件等,没有出现问题)。
但是make install最后一行有一个warning,大概是mptscsi driver for kernel 2.6.22.6 not found.
但是我在2.6.22.6内核对应的modules对应目录下面看到了mptscsih.ko啊。
重新启动,进入新内核。到uncompressing Linux这一行都是正常的。
但是后面显示:
Red Hat nash version 4.2.1.8 starting
Reading all physical volumes. This may take a while...
No volume groups found
Volume group "VolGroup00" not found
ERROR: /bin/lvm exited abnormally! (pid 342)
mount: error 6 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
但是进入原来的内核一切正常。而且在Reading all physical volumes一行前会有两行
sda: assuming drive cache: write through,
VolGroup00也可以顺利找到。
请问这是什么问题?果然是mptscsi吗?应该如何解决?
另外是不是在编译安装新内核前要安装什么软件?
附:我现在的grub.conf:
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.22.6)
root (hd0,0)
kernel /vmlinuz-2.6.22.6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.22.6.img
title Red Hat Enterprise Linux AS (2.6.9-42.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-42.EL.img