|
#
# GRUB启动各种操作系统的配置文件样本
#
# 等待timeout时间后自动启动
timeout 30
# 缺省启动项目.
default 0
# 第一项启动失败后启动项目.
fallback 1
# 启动 Hurd 运行在 IA32 系统上的Hurd
title GNU/Hurd
root (hd0,0)
kernel /boot/gnumach.gz root=hd0s1
module /boot/serverboot.gz
# 启动 GNU/Linux
title GNU/Linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1
# 从软盘启动 Mach (getting kernel from floppy)
title Utah Mach4 multiboot
root (hd0,2)
pause Insert the diskette now !!
kernel (fd0)/boot/kernel root=hd0s3
module (fd0)/boot/bootstrap
# 启动 FreeBSD
title FreeBSD 3.4
root (hd0,2,a)
kernel /boot/loader
# 启动 OS/2
title OS/2
root (hd0,1)
makeactive
# chainload OS/2 bootloader from the first sector
chainloader +1
# This is similar to "chainload", but loads a specific file
#chainloader /boot/chain.os2
# 启动 windows 95或NT
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos
# 安装GRUB到硬盘
title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)
# 改变颜色.
title Change the colors
color light-green/brown blink-red/blue |
|