[root@ok Desktop]# vi /boot/grub/grub.conf
# 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/mapper/vg_ok-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-573.22.1.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-573.22.1.el6.x86_64 ro root=/dev/mapper/vg_ok-lv_root rd_NO_LUKS rd_LVM_LV=vg_ok/lv_root LANG=en_US.UTF-8 rd_LVM_LV=vg_ok/lv_swap rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet#去掉 rhgb quie(启动过程就是命令行的方式显示)
        initrd /initramfs-2.6.32-573.22.1.el6.x86_64.img
title CentOS 6 (2.6.32-573.el6.x86_64)
        root (hd0,0)
@                                                                               
"/boot/grub/grub.conf " 21L, 1170C
原文:http://www.cnblogs.com/bass6/p/5661836.html