Chinaunix

标题: 急救:双硬盘.双系统GRUB启动问题 [打印本页]

作者: 天气好冷    时间: 2006-12-21 19:29
标题: 急救:双硬盘.双系统GRUB启动问题
我的是两块硬盘.一块SATA160.做XP...一块IDE20做RHEL..两块硬盘分开做的系统.IDE20上有GRUB.每次启动时也自动进GRUB后进入LINUX.可是GRUB上不能选择进入XP.想知道怎么解决. 要手动设置GRUB的方法.
我已经试过这个方法.但不对.不知道哪里有错.请大家帮我. 最后XP的那些是我看了资料自己写的.原来没有那些的.我是在/boot/grub/menu.lst改的.用VI
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-42.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-42.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-42.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.EL ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-42.EL.img
title windows xp
root (sd1,0)
chainloader +1
这样设置出错.
在GRUB提示符下.#ROOT (HD1,0)后.提示file system type is fat,partion type is 0Xc.
再#chainloader +1后.无反应
若root (sd1,0)后.提示invalid or unsupported executable format.
不解.请各位指点一下.
THX~~
作者: 天气好冷    时间: 2006-12-21 22:18
哈哈.成功了.
跟新手们分享一下.
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
boot




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