LinuxSir.cn,穿越时空的Linuxsir!

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

多系统(系统数大于3)的Grub引导问题求助~~

[复制链接]
发表于 2007-9-19 17:43:31 | 显示全部楼层 |阅读模式
在公司的一台服务器上装了四个操作系统,分别是RHEL4,Windows Vista,Windows 2003 Server以及RHEL5。这四个操作系统分别装在了四个硬盘上,希望通过Grub来引导,因此写下了下面这样的grub.conf:


  1. default=0
  2. timeout=10
  3. splashimage=(hd0,0)/grub/splash.xpm.gz
  4. hiddenmenu

  5. title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp)
  6.         root (hd0,0)
  7.         kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet
  8.         initrd /initrd-2.6.9-22.ELsmp.img
  9. #title Red Hat Enterprise Linux AS-up (2.6.9-22.EL)
  10. #       root (hd0,0)
  11. #       kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
  12. #       initrd /initrd-2.6.9-22.EL.img

  13. title Microsoft Windows Vista
  14.         root (hd1,0)
  15.         savedefault
  16.         makeactive
  17.         chainloader +1

  18. title Microsoft Windows 2003 Server Ent_R2 X64
  19.         root (hd2,0)
  20.         savedefault
  21.         makeactive
  22.         chainloader +1

  23. title Red Hat Enterprise Linux AS (2.6.11)
  24.         root (hd3,0)
  25.         kernel /vmlinuz-2.6.11 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
  26.         initrd /initrd-2.6.11.img
复制代码


然而,实际启用Grub之后,发现上述的RHEL4,RHEL5以及Windows Vista都可以被正常引导,但是Windows 2003 Server却引导失败,不知道是什么原因,希望各位朋友能够指导一下,谢谢~~
发表于 2007-9-19 17:50:18 | 显示全部楼层
启动非第一块硬盘上的windows 要交换硬盘顺序
windows不能在非第一块硬盘上启动
还有部分错误
应该像这样
  1. title Windows
  2. rootnoverify (hd1,0)
  3. map (hd1) (hd0)
  4. makeactive
  5. chainloader +1
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-19 18:21:27 | 显示全部楼层
Post by 軒轅.子
启动非第一块硬盘上的windows 要交换硬盘顺序
windows不能在非第一块硬盘上启动
还有部分错误
应该像这样
  1. title Windows
  2. rootnoverify (hd1,0)
  3. map (hd1) (hd0)
  4. makeactive
  5. chainloader +1
复制代码



感谢,照着以上的方式改果然就引导起来了~~

但是,还是有个小问题,为什么Vista的那一行,按我的写法为什么就能直接引导起来呢?
回复 支持 反对

使用道具 举报

发表于 2007-9-19 20:41:34 | 显示全部楼层
vista的引导和以前不一样了。可能是ntldr不支持不是第一块硬盘引导吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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