prompt
default=linux
boot=/dev/hda
install=/boot/boot.b
map=/boot/map
image=/boot/vmlinuz
label=linux
root=/dev/hda2
read-only ## Imagesection: For testing a new Linux kernel image=/testvmlinuz
label=testlinux
root=/dev/hda2
read-only
optional # Omit imageif not available when map is
built ##Image section: For booting DOS
other=/dev/hda1
label=dos
loader=/boot/chain.b
table=/dev/hda # Thecurrent partition table ## Image section:
For bootingWindows 95
other=/dev/hda1
label=win95
loader=/boot/chain.b
table=/dev/hda
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes tothis # 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/hda1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=3
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-14ro root=LABEL=/
initrd/boot/initrd-2.4.18-14.img
title Microsoft Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader (hd1,0)+1
boot
总结