# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/hdb8
# initrd /initrd-version.img
#boot=/dev/hdb 这一行以上全为注释行
default=0 GRUB引导程序缺省选项
timeout=10 菜单显示的时间长短,10秒之后启用缺省选项
splashimage=(hd0,6)/grub/splash.xpm.gz
password --md5 $1$XLnqMR8p$uQtnf8Efw6DhjWN37paR60 GRUB引导程序的密码,利用它可以进入单用户模式
title Red Hat Linux 9.0 (2.4.20- GRUB引导菜单中第一行选项
root (hd0,6) / 分区为硬盘中的第六个分区
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Microsoft Windows 98 GRUB
rootnoverify (hd0,0)
chainloader +1