快速业务通道

RED HAT ENTERSPRISE LINUX 5 grub启动文件

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-23
[root@localhost ~]#more /boot/grub/grub.conf //显示 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/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda #开始是注释说明信息 default=0 #default=0表示默认启动第一个系统 timeout=5 #timeout就是默认在启动选择界面停留的时间单位是秒.等待5秒自动进入默认操作系统 splashimage=(hd0,0)/grub/splash.xpm.gz #显示第一块硬盘的,第一个分区/grub目录下的启动背景界面(splash.xpm.gz Hiddenmenu #隐藏的菜单 title Red Hat Enterprise Linux Server (2.6.18-128.el5) #标题红帽子企业版内核版本,启动后显示的信息 root (hd0,0) #root启动文件所在位置 kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet #kernel内核版本和内核所在位置 initrd /initrd-2.6.18-128.el5.img #initrd内核镜像 [root@localhost ~]#cd /boot/grub //切换到grub目录 [root@localhost grub]#rm –rf menu.lst //删除grub.conf软件接名menu.lst [root@localhost grub]#rm –rf grub.conf //删除grub.conf系统启动文件 [root@localhost grub]#reboot //重启系统 grub>splashimage=(hd0,0)/grub/splash.xpm.gz //显示grub启动背景画面 grub>root (hd0,0) //root启动文件所在位置 grub>kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet //kernel内核版本和内核所在位置 grub>initrb /initrb-2.6.18-128.el5.img //initrd内核镜像的名字 grub>boot //执行boot启动红帽子 [root@localhost ~]#cd /boot/grub //切换到grub目录 [root@localhost grub]#vim grub.conf //打开编辑grub.conf default=0 timeout=5 了解更多请点击:http://blog.csdn.net/vcchen_bo_qiang

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号