我們在安裝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