硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1(windows 7 loader) 无法启动windows7了,grbu菜单上选 windows 7 loader 闪一下 就又回到 grub菜单了,尝试用win7 光盘恢复未果,重装 ubuntu3次都这样,请教各位有碰到过吗,有什么建议 欢迎提出,谢谢!
-
- 帖子: 9
- 注册时间: 2009-10-26 14:49
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
grub要装到hd0上,hd0,1是windows7的分区,你装到这个分区上,把windows7在这个分区上的引导信息给搞没了,变成了grub所以会闪一下又进入了grub
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
请问 有什么办法解决吗?mrdenglazy 写了:grub要装到hd0上,hd0,1是windows7的分区,你装到这个分区上,把windows7在这个分区上的引导信息给搞没了,变成了grub所以会闪一下又进入了grub
我的电脑没有光驱
手头 有 winpe/ubuntu live cd的 双启动的U盘 有 win7的iso文件。
-
- 帖子: 9
- 注册时间: 2009-10-26 14:49
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
进入ubuntu系统把grub装到hd0上,然后把grub启动单中的chainloader +1改为chainloader /bootmgr
试下可以启动windows7不,
如果可以启动,再在windows7取得管理员权限的命令行下执行c:\boot\bootsect /nt60 c:
这样应该可以了,
如果不能启动,尝试用windows7安装时的命令行下执行c:\boot\bootsect /nt60 c:
试下可以启动windows7不,
如果可以启动,再在windows7取得管理员权限的命令行下执行c:\boot\bootsect /nt60 c:
这样应该可以了,
如果不能启动,尝试用windows7安装时的命令行下执行c:\boot\bootsect /nt60 c:
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
我记得
在装ubuntu的时候我 分区后 高级 那个窗口里 安装到MBR的钩钩是打上的,选择的 windows 7 loader 那个分区。
这样有问题啊?
在装ubuntu的时候我 分区后 高级 那个窗口里 安装到MBR的钩钩是打上的,选择的 windows 7 loader 那个分区。
这样有问题啊?
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
mbr打钩,还选择win7分区的干嘛?
用U盘PE启动,把Win7的iso中的boot文件夹内的bootsect.exe复制到硬盘分区,再打开cmd,cd到bootsect.exe所在目录,再 bootsect /nt60 C:

用U盘PE启动,把Win7的iso中的boot文件夹内的bootsect.exe复制到硬盘分区,再打开cmd,cd到bootsect.exe所在目录,再 bootsect /nt60 C:
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
按照这个步骤:smallapple 写了:mbr打钩,还选择win7分区的干嘛?![]()
用U盘PE启动,把Win7的iso中的boot文件夹内的bootsect.exe复制到硬盘分区,再打开cmd,cd到bootsect.exe所在目录,再 bootsect /nt60 C:
输入命令后 提示
successfully updated ntfs filesystem bootcode.
boot code was sucessfully update on all targeted volumes.
重新启动后 就一个光标在左上角闪动,原来的grub菜单不见了,本来还能进入Ubuntu的,现在就一个黑屏,一个光标,请问下来应该如何处理 ?
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
C盘的文件估计有错误,用PE进去看看C盘下的bootmgr和boot文件夹有没有在。
另外可以用livecd进去修复下grub
用ubuntu9.10的livecd启动后,打开终端
假如你的ubuntu的 / 分区是sda7,又假如 /boot分区是 sda6,用livecd启动,在终端下输入
另外可以用livecd进去修复下grub
用ubuntu9.10的livecd启动后,打开终端
假如你的ubuntu的 / 分区是sda7,又假如 /boot分区是 sda6,用livecd启动,在终端下输入
代码: 全选
sudo -i
mount /dev/sda7 /mnt
mount /dev/sda6 /mnt/boot (如果没 /boot 单独分区这步跳过)
grub-install --root-directory=/mnt /dev/sda
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
bootmgr在c:\下
boot目录在c:\下
正在重启 尝试用livecd启动
boot目录在c:\下
正在重启 尝试用livecd启动
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
TO:smallapple
输入你提到的命令
Instalation finished. No error reported.
This the contents of the device map /mnt/boot/grub/device.map.
Check if this correct or not. If any of the lines is incorrect,
fix it and re-run the script 'grub-install'
(hd0) /dev/sda
(hd1) /dev/sdb
重启 又重新看到 grub ,
选择 windows 7( loader ) (on /dev/sda1/)进入后 提示
BOOTMGR is compressed 光标开始闪动
选择 Ubuntu linux 2.6.31-14-generic,可以进入 Ubuntu 貌似启动的时候 ubuntu图标出来的时候 闪动了 几个文件 提示,但现在进去了
win7 还是不能进入
输入你提到的命令
Instalation finished. No error reported.
This the contents of the device map /mnt/boot/grub/device.map.
Check if this correct or not. If any of the lines is incorrect,
fix it and re-run the script 'grub-install'
(hd0) /dev/sda
(hd1) /dev/sdb
重启 又重新看到 grub ,
选择 windows 7( loader ) (on /dev/sda1/)进入后 提示
BOOTMGR is compressed 光标开始闪动
选择 Ubuntu linux 2.6.31-14-generic,可以进入 Ubuntu 貌似启动的时候 ubuntu图标出来的时候 闪动了 几个文件 提示,但现在进去了
win7 还是不能进入
-
- 帖子: 743
- 注册时间: 2007-09-18 8:45
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
奇怪了,bootsect /nt60 C:又不修改mbr的,怎么把grub冲掉了?
boot目录下有bcd文件吗?另外,sudo fdisk -l的结果也贴出来看看
boot目录下有bcd文件吗?另外,sudo fdisk -l的结果也贴出来看看
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
似乎把bootmgr压缩了,从 win7的iso挂载后把 bootmgr 提取出来替换原来的bootmgr再试试BOOTMGR is compressed
-
- 帖子: 743
- 注册时间: 2007-09-18 8:45
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
用winpe进去c盘,选中bootmgr,右键属性——高级。把那个压缩磁盘节约空间的钩去掉. 这样估计也可以
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
marble@marble-ubuntu:~$ sudo fdisk -ltusheng 写了:奇怪了,bootsect /nt60 C:又不修改mbr的,怎么把grub冲掉了?
boot目录下有bcd文件吗?另外,sudo fdisk -l的结果也贴出来看看
[sudo] password for marble:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x13dbf84d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3534 28380208+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 3534 14593 88838001+ f W95 Ext'd (LBA)
/dev/sda5 3534 6084 20487568+ 7 HPFS/NTFS
/dev/sda6 6084 8256 17440888+ 7 HPFS/NTFS
/dev/sda7 8256 11101 22853848+ 7 HPFS/NTFS
/dev/sda8 11102 11117 128488+ 83 Linux
/dev/sda9 11118 11482 2931831 82 Linux swap / Solaris
/dev/sda10 11483 12941 11719386 83 Linux
/dev/sda11 12942 14593 13269658+ 83 Linux
marble@marble-ubuntu:~$
-
- 帖子: 22
- 注册时间: 2009-11-16 16:42
Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动
na ge wen jian meiyou yasuo a wo xian zai zai ubuntu li da de shi pin yin sorry.tusheng 写了:用winpe进去c盘,选中bootmgr,右键属性——高级。把那个压缩磁盘节约空间的钩去掉. 这样估计也可以