Linux_GRUB应用与配置

来源:岁月联盟 编辑:exp 时间:2012-03-26
 [root@localhost ~]# cat /boot/grub/grub.conf     该目录下存放GRUB配置文件 # 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/sda3#          initrd /initrd-version.img#boot=/dev/sdadefault=0      定义默认启动系统timeout=5     定义默认等待时间splashimage=(hd0,0)/grub/splash.xpm.gz   定义GRUB界面                                                          (hd0,0)代表第一个硬盘的第一个分区                                                          /grub/splash.xpm.gz图片所在的路劲              hiddenmenu     隐藏菜单 title Red Hat Enterprise Linux Server (2.6.18-164.el5)             root (hd0,0)      设置GRUB的根设备和内核所在的分区      内核 kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb quiet镜像加载initrd /initrd-2.6.18-164.el5.img GRUB命令 e:   编辑当前的启动菜单项c:   进入GRUB命令行b:   启动当前的菜单项d:   删除单前行Esc:返回GRBU启动菜单界面,取消对单前菜单项做的任何修改 
  作者 小小雷利