分享

GRUB启动菜单被隐藏的解决

 seligor 2011-02-12

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


    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多