grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
头像
hellfire628
帖子: 17
注册时间: 2010-04-16 11:20

grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#1

帖子 hellfire628 » 2010-11-03 14:47

今天重装了ubuntu后开机进入grub菜单,最后一项是windows启动选项
回车后黑屏,左上角只有一个下划线在闪动。
怎么才能找回windows?

安装系统顺序:
win XP
win Server 2008
ubuntu 10.10


viper@viper-G41M-ES2L:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc001c001
Device Boot Start End Blocks Id System
/dev/sda1 1 1913 15366141 7 HPFS/NTFS
/dev/sda2 1914 4262 18868342+ 7 HPFS/NTFS
/dev/sda3 4263 60802 454150990+ f W95 Ext'd (LBA)
/dev/sda5 4263 8178 31455238+ 7 HPFS/NTFS
/dev/sda6 8179 21538 107314168+ 7 HPFS/NTFS
/dev/sda7 21539 34286 102398278+ 7 HPFS/NTFS
/dev/sda8 34287 47340 104856223+ 7 HPFS/NTFS
/dev/sda9 * 47341 48585 10000431 83 Linux
/dev/sda10 48586 49083 3998720 82 Linux swap / Solaris
/dev/sda11 49084 50328 9999360 83 Linux
/dev/sda12 50329 51573 9999360 83 Linux
/dev/sda13 51574 52818 9999360 83 Linux
/dev/sda14 52819 60802 64124928 83 Linux
Disk /dev/sdb: 1978 MB, 1978138624 bytes
61 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3782 * 512 = 1936384 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000



root@viper-G41M-ES2L:/home/viper# grub
程序“grub”尚未安装。 您可以使用以下命令安装:
apt-get install grub
root@viper-G41M-ES2L:/home/viper# apt-get install grub
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
现在没有可用的软件包 grub,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
可是下列软件包取代了它:
grub-pc
E: 软件包 grub 没有可供安装的候选者
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#2

帖子 onshoestring » 2010-11-03 15:22

http://sourceforge.net/projects/bootinfoscript/
把文件先复制到桌面,终端运行:

代码: 全选

sudo bash ~/桌面/boot_info_script055.sh
把RESULTS.txt文件内容贴上来。
头像
hellfire628
帖子: 17
注册时间: 2010-04-16 11:20

Re: grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#3

帖子 hellfire628 » 2010-11-03 15:29

onshoestring 写了:http://sourceforge.net/projects/bootinfoscript/
把文件先复制到桌面,终端运行:

代码: 全选

sudo bash ~/桌面/boot_info_script055.sh
把RESULTS.txt文件内容贴上来。

内容太多了
看附件吧
附件
RESULTS.txt
(13.92 KiB) 已下载 20 次
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#4

帖子 onshoestring » 2010-11-03 15:33

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 765334987 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /menu.lst /boot.ini /bootmgr /boot/BCD /GRLDR /ntldr
/NTDETECT.COM
插入windows7安装光盘,从光盘启动,在光盘启动完成后,按下shift+f10键,调出cmd命令提示符。在命令提示符中输入:bootrec /fixboot回车。
头像
hellfire628
帖子: 17
注册时间: 2010-04-16 11:20

Re: grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#5

帖子 hellfire628 » 2010-11-03 15:39

onshoestring 写了:
sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 765334987 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /menu.lst /boot.ini /bootmgr /boot/BCD /GRLDR /ntldr
/NTDETECT.COM
插入windows7安装光盘,从光盘启动,在光盘启动完成后,按下shift+f10键,调出cmd命令提示符。在命令提示符中输入:bootrec /fixboot回车。

我的机子没有光驱,xp是用U盘装的,2008是硬盘安装的。能不能用PE解决了?
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#6

帖子 onshoestring » 2010-11-03 15:47

在pe中虚拟光驱打开2008,在\boot目录有个bootsect.exe,运行bootsect /nt60 c:
或者在无忧启动论坛下载bootice,修复sda1的pbr。
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#7

帖子 nmsfan » 2010-11-03 16:40

>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
hellfire628
帖子: 17
注册时间: 2010-04-16 11:20

Re: grub无法引导windows(尽管有类似的帖子,但我还是没弄明白)

#8

帖子 hellfire628 » 2010-11-04 12:19

onshoestring 写了:在pe中虚拟光驱打开2008,在\boot目录有个bootsect.exe,运行bootsect /nt60 c:
或者在无忧启动论坛下载bootice,修复sda1的pbr。
按照你说的做了还是不行...
一怒之下我重新分区,重装系统...
回复