GRUB(统一引导装入器)是基本的Linux引导装入器。
其有四个作用,如下:
1.选择操作系统(如果计算机上安装了多个操作系统)。
2.表示相应引导文件所在的分区。
3.找到内核。
4.运行初始内存盘,设置内核和相关模块。
GRUB的设置文件是Fedora的是在/boot/grub/grub.confUbuntu中是在 /boot/grub/menu.lst
/boot/grub/grub.conf中典型的GRUB设置文件,如下图[root@localhost ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,9)
# kernel /boot/vmlinuz-version ro root=/dev/hda10
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=30
splashimage=(hd0,9)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,9)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Other
rootnoverify (hd0,0)
chainloader +1
Ubuntu 9.10 硬盘安装手记在Ubuntu中安装工具Autotools相关资讯 Grub Linux知识
- Ubuntu下Grub配置详解 (今 14:57)
- Linux系统教程:设置GRUB菜单密码 (12/15/2015 21:30:02)
- Linux操作系统启动管理器-GRUB (05/09/2015 12:06:59)
| - GRUB官方文档翻译-v1.01 PDF (04月09日)
- 修复Linux中的“提供类似行编辑的 (07/29/2015 13:18:34)
- Ubuntu 通过 Live CD 更新Grub恢复 (04/19/2015 19:06:43)
|
本文评论 查看全部评论 (0)