# 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,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
#
# 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,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
(默認啓動的是第一個系統,如果是多系統可以通過default後面的數字區分開來)
timeout=5
timeout=5
(啓動時提示信息停頓的時間)
splashimage=(hd0,0)/grub/splash.xpm.gz
splashimage=(hd0,0)/grub/splash.xpm.gz
(Grub的背景圖片)
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-53.el5)
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-53.el5)
(顯示的標題信息)
root (hd0,0)
root (hd0,0)
(root啓動時的位置)
kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/ rhgb quiet
(kernel內核所在的位置和名字)
initrd /initrd-2.6.18-53.el5.img
initrd /initrd-2.6.18-53.el5.img
(initrd內核鏡像的名字)
~
~
~
~
~
~