Linux_GRUB应用与配置
Linux_GRUB应用与配置
[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/sda
default=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启动菜单界面,取消对单前菜单项做的任何修改
作者 小小雷利
评论暂时关闭