Welcome 微信登录

首页 / 操作系统 / Linux / 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红旗Linux桌面版7.0安装截图与Ubuntu 9.04比美 Windows 7 release candidate安装多图赏相关资讯      Linux教程 
  • Linux教程:如何在命令行中查看目  (07/28/2014 12:22:23)
  • Linux 修改root密码  (11/03/2012 07:53:38)
  • su - root 与su root的区别  (06/06/2012 00:39:40)
  • Linux进程间通信:消息队列  (01/28/2013 09:43:00)
  • U盘安装Linux开机无法启动解决方法  (10/07/2012 08:55:52)
  • Windows 7/Linux 同步时间  (05/15/2012 06:17:55)
本文评论 查看全部评论 (0)
表情: 姓名: 字数