我刚刚更新了我的 Linux 内核:
[root@localhost ~]# cat /etc/redhat-release
Scientific Linux release 6.1 (Carbon)
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]#
/var/log/messages 中的最后几条条目:
Oct 1 10:22:10 wcmisdlin02 wall[21689]: wall: user root broadcasted 1 lines (8 chars)
Oct 1 10:22:40 wcmisdlin02 NetworkManager[1866]: <info> kernel firmware directory '/lib/firmware' changed
Oct 1 10:22:43 wcmisdlin02 yum[21626]: Updated: kernel-firmware-2.6.32-279.9.1.el6.noarch
Oct 1 10:22:53 wcmisdlin02 yum[21626]: Installed: kernel-2.6.32-279.9.1.el6.x86_64
Oct 1 10:23:05 wcmisdlin02 yum[21626]: Installed: kernel-devel-2.6.32-279.9.1.el6.x86_64
Oct 1 10:23:07 wcmisdlin02 yum[21626]: Updated: kernel-headers-2.6.32-279.9.1.el6.x86_64
/var/log/yum.log
[root@localhost ~]# tail /var/log/yum.log | grep "^Oct 01"
Oct 01 10:22:43 Updated: kernel-firmware-2.6.32-279.9.1.el6.noarch
Oct 01 10:22:53 Installed: kernel-2.6.32-279.9.1.el6.x86_64
Oct 01 10:23:05 Installed: kernel-devel-2.6.32-279.9.1.el6.x86_64
Oct 01 10:23:07 Updated: kernel-headers-2.6.32-279.9.1.el6.x86_64
[root@localhost ~]#
现在它无法启动(就在我看到 GRUB 之后,我可以选择不同版本的内核(我试过新安装的一个和以前的内核)具有相同的结果:
Kernel panic - not syncing: VFS: Unable to mount root fs on known-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-279.1.1.el6.x86_64 #1
Call Trace:
[<ffff
....
我还注意到所有“initramfs”文件看起来都已更新(这可能就是我无法再启动旧内核的原因)
[root@localhost ~]# ls -al /boot/initramfs-2.6.32-279.*
-rw-r--r--. 1 root root 15227261 Oct 1 10:25 /boot/initramfs-2.6.32-279.1.1.el6.x86_64.img
-rw-r--r--. 1 root root 15227720 Oct 1 10:25 /boot/initramfs-2.6.32-279.5.1.el6.x86_64.img
-rw-r--r--. 1 root root 15227774 Oct 1 10:26 /boot/initramfs-2.6.32-279.9.1.el6.x86_64.img
[root@localhost ~]#
有任何想法吗?