Linux启动配置文件grub.conf详解

Linux 启动配置文件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/sda2
# initrd /initrd-version.img
#boot=/dev/sda
//以上是grub.conf 的一些解释

default=0 //默认从下面系统列表的第一个启动
timeout=5 //默认启动等待时间是5秒钟
splashimage=(hd0,0)/grub/splash.xpm.gz //系统选择菜单背景所在的位置
hiddenmenu //隐藏菜单
title Fedora Core (2.6.11-1.1369_FC4) //在grub界面所显示的系统名称 (可以任意该动)
root (hd0,0) //启动时从IDE接口的第一块硬盘第一个分区启动
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet //启动的内核版本,可以在后面添加内核参数
initrd /initrd-2.6.11-1.1369_FC4.img

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/28579.html