LinuxSir.cn,穿越时空的Linuxsir!

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

GRUB 装在 MBR 上,但现在却无法引导windows了

[复制链接]
发表于 2008-3-29 16:44:13 | 显示全部楼层 |阅读模式
郁闷阿!!!!GRUB 装在 MBR 上,但现在却无法引导windows了。那位大虾支个招??
grub>find /ntldr
(hd0,0)
grub>root (hd0,0)
grub>chainloader (hd0,0)/ntldr+1
file not found
提示无法找到文件,那还怎么引导阿??为什么明明存在却提示找不到呢?
ntldr大于512字节,它是放在活动分区首扇区吗?还是grub加载首扇区后再由它加载ntldr?
我怀疑是不是首扇区出了问题,到其他机器上用工具把首扇区做成二进制文件拷过来,再写进我的硬盘能否解决问题?
发表于 2008-3-29 18:49:52 | 显示全部楼层
root  (hd0,0)
chainloader  +1
boot


Post by zhyl5352;1832507
郁闷阿!!!!GRUB 装在 MBR 上,但现在却无法引导windows了。那位大虾支个招??
grub>find /ntldr
(hd0,0)
grub>root (hd0,0)
grub>chainloader (hd0,0)/ntldr+1
file not found
提示无法找到文件,那还怎么引导阿??为什么明明存在却提示找不到呢?
ntldr大于512字节,它是放在活动分区首扇区吗?还是grub加载首扇区后再由它加载ntldr?
我怀疑是不是首扇区出了问题,到其他机器上用工具把首扇区做成二进制文件拷过来,再写进我的硬盘能否解决问题?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-29 21:00:18 | 显示全部楼层
正是找不到文件,不能正常引导我才改的用绝对路径,结果还是引导不起来。可以find到,但是chainloader却无法正确加载
回复 支持 反对

使用道具 举报

发表于 2008-3-29 21:42:23 | 显示全部楼层
rootnoverify (hd0,0)
chainloader +1

这样呢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-29 22:07:09 | 显示全部楼层
那是一样的,挂不挂载无所谓,其实引导windows不用第一句也可以,只要chainloader +1然后boot就能引导的,现在是无法让grub 加载ntldr,把控制权传递下去


Command: chainloader [--force] file

Load file as a chain-loader. Like any other file loaded by the filesystem code, it can use the blocklist notation to grab the first sector of the current partition with `+1'. If you specify the option --force, then load file forcibly, whether it has a correct signature or not. This is required when you want to load a defective boot loader, such as SCO UnixWare 7.1
回复 支持 反对

使用道具 举报

发表于 2008-3-30 21:50:10 | 显示全部楼层
windows 安装光盘, R 进修复控制台。
输入口令
fixboot
fixmbr
exit

退出并重启,OK
回复 支持 反对

使用道具 举报

奋斗的毛毛虫 该用户已被删除
发表于 2008-4-1 13:57:20 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

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

本版积分规则

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