LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 901|回复: 1

GRUB启动各种操作系统的配置文件样本

[复制链接]
发表于 2004-9-11 09:41:20 | 显示全部楼层 |阅读模式
#
# 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
发表于 2004-9-19 13:46:46 | 显示全部楼层
可以一并使用吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表