Users Guide

initrd/initrd-version.img#boot=/dev/sda)
# 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 (grub.conf anaconda 生成)
#
# 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.root(hd0,0)
(注意:您有一个/ 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 已修改。上次修改时间 2008 星期六十月 11 21:52:09 UTC)
Default 0
Timeout 8
gfxmenu (hd0.5)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux
(请不要改变此命令 - YaST2 标识符: 初始名称: linux)###
title SUSE Linux Enterprise Server 10 SP1