不同机器可能由于安装的磁盘分区不同而内容有所变化,不过基本信息大同小异,大家用得着的可以作为参考: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,4) # kernel /boot/vmlinuz-version ro root=/dev/sda4 # initrd /boot/initrd-[generic-]version.img #boot=/dev/sda default=1 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.32-279.el6.i686) root (hd0,4) kernel /boot/vmlinuz-2.6.32-279.el6.i686 ro root=UUID=34b3b0c1-890f-4983-869d-1bf0f263195c rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /boot/initramfs-2.6.32-279.el6.i686.img title Other rootnoverify (hd0,1) chainloader +1