作者:知足幸福_21942 | 来源:互联网 | 2017-09-16 07:20
# 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 默认从IDE接口的第一块硬盘启动
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