装完Fedora 后,发现Windows XP的启动菜单没有的解决办法

来源:互联网 发布:孔令仪 知乎 编辑:程序博客网 时间:2024/06/05 04:09
 我们在安装Fedora core 4.0 后,在开机的时候,如果是多系统的,或者是windows+Linux的,会发现Windows的启动项在grub中没有了。

其实解决办法很简单:

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


二、改配置文件:/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/hdadefault=0timeout=5#splashimage=(hd0,4)/boot/grub/splash.xpm.gz#hiddenmenutitle 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.imgtitle WinXp        rootnoverify (hd0,0)        chainloader +1