[root@localhost grub]# cat grub.conf //显示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 Fedora Core (2.6.15-1.2054_FC5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title windows
rootnoverify (hd0,3)
chainloader +1
删除上文中任何关于password的记录(一般只有一条),该conf文件一般位于/etc/grub/下,或者直接位于/etc/下
2009年3月19日星期四
订阅:
博文评论 (Atom)
没有评论:
发表评论