找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3367|回复: 2

grub4dos怎样引导redhat 9.0 linux?

[复制链接]
发表于 2008-7-7 16:50:59 | 显示全部楼层 |阅读模式
title Red Hat Linux (2.4.20-8)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=LINUX
initrd /boot/initrd-2.4.20-8.img
title Windows XP
rootnoverify (hd0,0)
makeactive



这个我用redhat9.0 自带的grub能引导linux  
我该这样让grub4dos引导linux呢?
我的windows 下有c d e f 盘 然后就是linux
谢谢

[ 本帖最后由 fpx_123 于 2008-7-7 04:58 PM 编辑 ]
发表于 2008-7-7 17:42:56 | 显示全部楼层
grub4dos 与 gnu grub legacy 完全兼容,你可以原封不动照搬 Linux 下的菜单。

或者你可以用一些 grub4dos 特有的、更灵活的引导方式,比如这样:

title Red Hat Linux (2.4.20-8)
find --set-root /boot/vmlinuz-2.4.20-8
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=LINUX
initrd /boot/initrd-2.4.20-8.img
boot

title Windows XP
find --set-root /ntldr
chainloader /ntldr
boot

顺便指出你的一个错误:

title Windows XP
rootnoverify (hd0,0)
makeactive

上面这个菜单是无法成功启动 XP 的,原因是缺少一条 chainloader 命令。
回复

使用道具 举报

 楼主| 发表于 2008-7-7 19:10:23 | 显示全部楼层
谢谢不点兄弟啊  !
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-4-8 20:10

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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