免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3220 | 回复: 5
打印 上一主题 下一主题

[互操作系统] [求助]恢复Grub后无法引导windows [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-06 14:01 |只看该作者 |倒序浏览
我有两块硬盘,使用论坛里介绍的方法将重装windows时覆盖的Grub恢复并且顺利进入了linux.
可windows却无法启动了.
恢复过程:
使用Redhat 8 LINUX光盘启动,进入rescue模式,然后进入gurb
恢复时使用的命令是
gurb>;setup (hd0,0)

我情况是这样的:
总的来说我的第一块硬盘装着MS的操作系统
/dev/hda1 fat32 #我的C盘,装有WIN98
/dev/hda5 fat32 #我的D盘,装有XP
/dev/hda6~8 均为fat32 #我的几个数据分区
下面是第二块硬盘,装着rh8
/dev/hdb1 ext3 #linux的boot分区
/dev/hdb2 linux-swap #交换分区
/dev/hdb3 ext3 #linux根分区

现在只能进入LINUX,而无法引导windows.在Grub菜单里选Windows以后就又恢复到Grub菜单,而看不到以前windowsXP的启动菜单.并且可以在linux 下挂载windows的所以分区.

我的grub.conf 如下
# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Windows
rootnoverify (hd0,0)
chainloader +1
请高人帮我看看,我要怎么做才能进入windows?

论坛徽章:
0
2 [报告]
发表于 2005-09-06 14:52 |只看该作者

[求助]恢复Grub后无法引导windows

install grub to mbr,you'll need to use the follow command:
setup (hd0)
but now,you install grub to windows system partition,
of course windows can't boot, it is really a big mistake!

solution:
1.repaire windows (repaire mode and use fixboot c: command)
2.install grub to mbr

论坛徽章:
0
3 [报告]
发表于 2005-09-06 18:34 |只看该作者

[求助]恢复Grub后无法引导windows

Thanks a lot.
But I have a question about your said "use fixboot c: command".
Dose it  mean I need to fix windowsXP  use the mode of recover console? In this solution, can windows98 work?

Another hand , I dave used "setup (hd0), but it seemed unworked. So I used "setup(hd0,0)" instead. Actually, before things became awful,  I have no choice to use  that command of  Grub.

谢谢
我想知道您所说的'use fixboot c: command" 是让我使用XP的恢复控制台来修复XP吗?
那样的话能一同修好98吗?

论坛徽章:
0
4 [报告]
发表于 2005-09-06 20:57 |只看该作者

[求助]恢复Grub后无法引导windows

建议参考:

http://bbs.chinaunix.net/forum/viewtopic.php?t=604085&highlight=lwowo

论坛徽章:
0
5 [报告]
发表于 2005-09-07 00:30 |只看该作者

[求助]恢复Grub后无法引导windows

谢谢,上面的大哥。我试过了N种方法,包括了fdisk/mbr、fixboot和fixmbr。。。。 结果,把我的C盘分区类区搞成了unkown,98启动盘里的fdisk是这样显示的,并且用98启动盘引导不能读C盘;
可XP的启动盘在修复控制台却可以读取C盘;
linux下的fdisk也可以识别的。
哎,没办法了,我没有多余的时间来弄我的LINUX了,还有其它的事情要去做。最后只好重装XP了。
对于这两天出现的情况我还来不及总结。
只是觉得还没怎么就让Grub这只拦路虎给难住了。通往LINUX的道路是如此的艰难。加油呀~~~

论坛徽章:
0
6 [报告]
发表于 2005-09-07 09:05 |只看该作者

[求助]恢复Grub后无法引导windows

呵呵,我也被GRUB搞怕了,为什么听说它是个好东西,可为什么这么让人只能远观不能近摩呢?
我现在装Linux时使用的不是GRUB,而是什么FIFO......
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP