在升级 centos6.3上使用, yum -y update ... 灾难出现了!!!
解决方法:
1. 在机器启动的时候, 按F1, 会出现选择内核,选一个原来的。
2. vim /etc/grub.conf 把defaulut=0, 改为 1. ()
3. 重启即可。
结论:
1. 系统级的命令, gcc, yum, libc库,不建议升级。直接安装全新的系统。
Kernel panic — not syncing: VFS: Unable to mount root fs on unknown—block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-431.11.2.el6.x86_64 #1
Call Trace:
[ <ffffffff81527823> ] ? panic+0xa7/0x16f
[ <ffffffff81c27432> ] ? mount_block_root+0x2160x2cb
[ <ffffffff81002930> ] ? bstat+0x2b0/0x980
[ <ffffffff81c2753d> ] ? mount_root+0x56/0x5a
[ <ffffffff81c276b1> ] ? prepare_namespace+0x170/0x1a9
[ <ffffffff81c2692a> ] ? kernel_init+0x2e1/0x2f7
[ <ffffffff8100c20a> ] ? child_rip+0xa/0x20
[ <ffffffff81c26649> ] ? kernel_init+0x0/0x2f7
[ <ffffffff8100c200> ] ? child_rip+0x0/0x2O