系统:centos6
/etc/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_centos6-lv_root# initrd /initrd-[generic-]version.img#boot=/dev/sdadefault=0#默认的内核启动标识timeout=5#默认grub界面等待时间splashimage=(hd0,0)/grub/splash.xpm.gz#默认启动加载LOGOhiddenmenu#隐藏以下信息password=密码#用于加密Grub程序。密码可以使用明文密码也可使用grub-md5-crypt命令生成MD5值title CentOS 6 (2.6.32-573.el6.x86_64)#内核启动列表,多内核此处会有多项显示 root (hd0,0) #默认用户和启动磁盘及分区 kernel /vmlinuz-2.6.32-573.el6.x86_64 ro root=/dev/mapper/vg_centos6-lv_root nomodeset rd_NO_LUKS rd_NO_MD rd_LVM_LV=vg_centos6/lv_swap crashkernel=128M LANG=zh_CN.UTF-8 rd_LVM_LV=vg_centos6/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-2.6.32-573.el6.x86_64.img#内核相关参数