# 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/sda6
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.18-92.el5.img
Climbing 的办法,使用grub4dos引导
注:本人是自定义分区,(hd0,0)就是我安装系统的时候创建的第一个分区/root,默认分区的不能这样设置,需要加/root。
title ATI SERVER (9.5 FULL) grub4dos
root (hd0,0)
kernel /grub.exe
启动grub4dos成功
title ATI SERVER (9.5 FULL) linux grub
root (hd0,0)
kernel /grub/kernel.dat rw vga=788 mbrcrcs=on load_ramdisk=1 ramdisk_size=21321 quiet
initrd /grub/ramdisk.dat /S
linux自带grub启动ATI成功。