欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

CentOS6.3 grub启动项 menu.lst文件介绍

程序员文章站 2022-03-28 18:13:09
不同机器可能由于安装的磁盘分区不同而内容有所变化,不过基本信息大同小异,需要的朋友可以参考下... 12-11-27...
不同机器可能由于安装的磁盘分区不同而内容有所变化,不过基本信息大同小异,大家用得着的可以作为参考:
# 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