不同機器可能由于安裝的磁盤分區(qū)不同而內容有所變化,不過基本信息大同小異,大家用得著的可以作為參考: # 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