LinuxSir.cn,穿越时空的Linuxsir!

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

GRUB多重启动的问题

[复制链接]
发表于 2006-6-14 09:45:01 | 显示全部楼层 |阅读模式
我是在独立硬盘上安装的GENTOO,另外一张盘是WINDOW。GENTOO的盘是IDE 0的主盘,WIN是IDE 1的从盘,安装好GENTOO后,GRUB并没有识别到另外一张硬盘上的系统。

我自己配置了一下GRUB,但是启动时始终找不到WIN的硬盘,也不清楚这种双硬盘的系统配置应该如何写?

请各位指点一下。

#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 15

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

#splashimage (hd0,1)/boot/grub/splash.xpm.gz
# For booting GNU/Linux
title  Gentoo Linux 2.6.14-r5
kernel (hd0,1)/boot/linux-2.6.14-gentoo-r5/bzImage root=/dev/hda2
#initrd /initrd.img

# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
#jrootnoverify (hd1,0)
#makeactive
chainloader (hd1,0)0+1
发表于 2006-6-14 09:53:17 | 显示全部楼层
麻烦你贴出/boot/grub/grub.conf。
回复 支持 反对

使用道具 举报

发表于 2006-6-14 13:03:18 | 显示全部楼层
双硬盘要 map
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-18 17:04:37 | 显示全部楼层
Post by fakeid
双硬盘要 map


怎么MAP,上面是我的GRUB。CONF,我是参考其中的例子做的。
回复 支持 反对

使用道具 举报

发表于 2006-6-18 19:44:48 | 显示全部楼层
比如我的 启动第二块硬盘上的xp的时候是这样的
  1. title winxp
  2.       map (hd1) (hd0)
  3.       map (hd0) (hd1)
  4.       rootnoverify (hd1,0)
  5.         chainloader +1
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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