Chinaunix

标题: 关于grub配置文件的问题~~~~求助~~~ [打印本页]

作者: funnybinyu    时间: 2008-03-09 18:34
标题: 关于grub配置文件的问题~~~~求助~~~
大家好我的情况是这样的
主板上两块硬盘主盘80G 装XP
从盘10G 装红旗6   (都接在同条硬盘数据线上)

先装XP后装LINUX,在安装GRUB时放在了从盘的第一主分区上。BIOS设置从盘启动。
重启后GRUB菜单上有两个系统可以选择但是XP进不去。(LINUX没有问题)
提示:rootnoverify (hd 1,0)
                chainloader +1
还有就是在安装GRUB时,有一个“更改硬盘顺序”的选项我变了一下。
配置文件如下:
# 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/hdb3
#          initrd /initrd-version.img
#boot=/dev/hdb1
default=0
timeout=5
gfxmenu (hd0,0)/message
title RedFlag (2.6.22.6-1)
    root (hd0,0)
    kernel /vmlinuz-2.6.22.6-1 ro root=LABEL=/ vga=788 splash=silent
    initrd /initrd-2.6.22.6-1.img
title Windows XP
    rootnoverify (hd1,0)
    chainloader +1
希望大家帮我看看,应该如何修改配置文件。
在这里谢谢了。
作者: funnybinyu    时间: 2008-03-10 17:58
自己先顶一下
作者: yizuwei520    时间: 2008-03-10 21:05
标题: 回复 #1 funnybinyu 的帖子
gfxmenu (hd0,1)/message
作者: guende    时间: 2008-03-11 07:52
原帖由 yizuwei520 于 2008-3-10 21:05 发表
gfxmenu (hd0,1)/message

能解释下吗??
为什么是第一个硬盘第二个分区???
作者: funnybinyu    时间: 2008-03-11 11:01
谢谢大家了
我用MAP做了映射,问题解决了.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2