zoukankan      html  css  js  c++  java
  • Linux下同步时间后出现系统报错



    今天闲着没事在虚拟机中搭建RAC环境,在配置rac1时同步时间
    编辑 /boot/grub/grub.conf 就加了这两句黑体字以后虚拟机就起不来了  就停在如上图片就不动了

    grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You do not have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /, eg.
    #          root (hd0,0)
    #          kernel /boot/vmlinuz-version ro root=/dev/sda1
    #          initrd /boot/initrd-version.img
    #boot=/dev/sda
    default=0
    timeout=5
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    hiddenmenu
    title Enterprise (2.6.9-89.0.0.0.1.ELsmp)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.9-89.0.0.0.1.ELsmp ro root=LABEL=/ rhgb quiet
    clock=pit nosmp noapic nolapic initrd /boot/initrd-2.6.9-89.0.0.0.1.ELsmp.img
    title Enterprise-up (2.6.9-89.0.0.0.1.EL)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.9-89.0.0.0.1.EL ro root=LABEL=/ rhgb quiet
    clock=pit nosmp noapic nolapic  initrd /boot/initrd-2.6.9-89.0.0.0.1.EL.img

    经过请教一位网友,问题解决。
    具体解决办法:
    启动虚拟机后按E进入grub编辑行加入以下语句:
    kernel /boot/vmlinuz-2.6.9-89.0.0.0.1.ELsmp ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-89.0.0.0.1.ELsmp.img
    然后boot启动后正常。

  • 相关阅读:
    九九乘法表
    计算器界面
    3.2封装的日期类
    杨辉三角
    100以内的素数
    九九 乘法表
    七、logging模块
    六、MySQLdb 模块
    四、浏览器运行模式
    五、configparser模块
  • 原文地址:https://www.cnblogs.com/datalife/p/1985618.html
Copyright © 2011-2022 走看看