zoukankan      html  css  js  c++  java
  • Kernal Panic

    升级了一下centos6.5

    执行了 yum -y update

    reboot

    出现了以下问题:

    Kernal Panic - Not syncing : VFS: unable to mount root fs on unknown-block (0,0)

    Kernal Panic - Not syncing : VFS: unable to mount root fs on unknown-block (0,0)

    Kernal Panic - Not syncing : VFS: unable to mount root fs on unknown-block (0,0)

    原因是由于linux系统内核冲突。

    原来升级前的内核可以启动。

    解决方案有两个。推荐第一个。

    1.进入前一个版本的系统,执行以下命令即可

    yum remove kernel
    yum update
     
     
    2.修改默认启动的内核项目
    Vim /boot/grub/grub.conf
    -----------------

    #boot=/dev/sda

    #修改默认启动内核项目,从0开始计数
    default=1
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu

    #以下是系统中存在的内核版本列表
    title CentOS (2.6.18-194.17.1.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.17.1.el5 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-194.17.1.el5.img
    title CentOS (2.6.18-194.17.1.el5xen)
    root (hd0,0)
    kernel /xen.gz-2.6.18-194.17.1.el5
    module /vmlinuz-2.6.18-194.17.1.el5xen ro root=LABEL=/ rhgb quiet
    module /initrd-2.6.18-194.17.1.el5xen.img
    title CentOS (2.6.18-194.el5xen)
    root (hd0,0)
    kernel /xen.gz-2.6.18-194.el5
    module /vmlinuz-2.6.18-194.el5xen ro root=LABEL=/ rhgb quiet
    module /initrd-2.6.18-194.el5xen.img
    title CentOS-base (2.6.18-194.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-194.el5.img
    -----------------------------------
    默认由0开始计数,将default值改为你要启动的数字即可。
  • 相关阅读:
    实验二、作业调度模拟实验
    实验一
    0909 初识操作系统
    实验四、主存空间的分配和回收模拟
    12.27评论5位同学试验三
    实验三进程调度模拟程序
    实验二、作业调度模拟实验
    实验一报告
    实验四 主存空间的分配和回收模拟
    实验三 进程调度模拟程序
  • 原文地址:https://www.cnblogs.com/amwuau/p/6432414.html
Copyright © 2011-2022 走看看