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启动后正常。

  • 相关阅读:
    SSM框架--详细整合教程
    ssh--整合注意事项
    SSH--三大框架整合原理
    springMVC的流程
    java框架问题整理
    集合的体系
    java异常机制
    java知识点
    Java编程思想【Thinking in java】
    实验三 指令实验(一)
  • 原文地址:https://www.cnblogs.com/datalife/p/1985618.html
Copyright © 2011-2022 走看看