手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

GRUB启动菜单被隐藏的解决

[日期:2007-08-25] 来源:Linux公社  作者:Linuxidc [字体: ]

提要:我们在安装Fedora core 4.0 后,在开机的时候,如果是多系统的,或者是windows+Linux的,会发现Windows的启动项在grub中没有了。

其实解决办法很简单:

一、在开机的时候按一下Enter键,就出来了。因为他是被隐藏了;

二、改配置文件:/etc/grub.conf

找到这行hiddenmenu ,在这行前面加#号,或者把这行删除;

我改过后的/etc/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,4)

# kernel /boot/vmlinuz-version ro root=/dev/hda5

# initrd /boot/initrd-version.img

#boot=/dev/hda

default=0

timeout=5

#splashimage=(hd0,4)/boot/grub/splash.xpm.gz

#hiddenmenu

title Fedora Core (2.6.11-1.1369_FC4)

        root (hd0,4)

        kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet

        initrd /boot/initrd-2.6.11-1.1369_FC4.img

title WinXp

        rootnoverify (hd0,0)

        chainloader +1

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款