Users Guide
# all kernel and initrd paths are relative to /boot/, eg.(# 注意:您有一个 /boot 分区。这意味着所有内核和 initrd 路径都与 /boot/ 相关, 例如:)
# root (hd0,0)
# kernel /vmlinux-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm/gz
hiddenmenu
title Red Hat Enterprise Linux 5
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
______________________________________________________________
修改后的 /boot/grub/grub.conf 示例:
______________________________________________________________
# grub.conf generated by anaconda(# anaconda 生成的 grub.conf )
#
# Note that you do not have to return grub after making changes to this
# file(# 注意您不必在对此文件做出修改后返回 grub)
# NOTICE: You have a /boot partition.This means that
# all kernel and initrd paths are relative to /boot/, eg.(# 注意:您有一个 /boot 分区。这意味着所有内核和 initrd 路径都与 /boot/ 相关,)
# root (hd0,0)
# kernel /vmlinux-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm/gz
hiddenmenu
# Redirect the OS boot via SOL(# 通过 SOL 重新定向操作系统启动)
title Red Hat Enterprise Linux 5 SOL redirection
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet console=tty1 console=ttyS0,115200
initrd /initrd-2.6.18-8.el5.img
______________________________________________________________
SLES 10 中的原始 /boot/grub/menu.list 示例:
______________________________________________________________
#Modified by YaST2.Last modification on Sat Oct 11 21:52:09 UTC 2008(修订人:YaST2 上次修订日期为 UTC 时间 2008 年 10 月 11 日星期六 21:52:09)
Default 0
Timeout 8










