Linux
yum 更新核心後 Scientific Linux 無法啟動
我剛剛為我的 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 ~]#
有任何想法嗎?