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

  • 相关阅读:
    代理
    博客园主题
    JS_1
    脚本语言
    Hadoop生态体系
    Hadoop序列化程序报错
    46. 全排列
    1038 Recover the Smallest Number (30分)
    1064 Complete Binary Search Tree (30分)
    1034 Head of a Gang (30分)
  • 原文地址:https://www.cnblogs.com/datalife/p/1985618.html
Copyright © 2011-2022 走看看