导航

Linux下同步时间后出现系统报错

Posted on 2011-03-16 09:16  datalife  阅读(274)  评论(0编辑  收藏  举报



今天闲着没事在虚拟机中搭建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启动后正常。