硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
huobazi
帖子: 22
注册时间: 2009-11-16 16:42

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#16

帖子 huobazi » 2009-11-17 19:59

smallapple 写了:
BOOTMGR is compressed
似乎把bootmgr压缩了,从 win7的iso挂载后把 bootmgr 提取出来替换原来的bootmgr再试试
能 在 ub内 做么 ?
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#17

帖子 smallapple » 2009-11-17 20:11

在ub下或在pe下都 可以。
huobazi
帖子: 22
注册时间: 2009-11-16 16:42

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#18

帖子 huobazi » 2009-11-17 20:27

用 win7 iso 内的 bootmgr替换到c:\启动 仍然显示 bootmgr is compressed
:em18
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#19

帖子 smallapple » 2009-11-17 20:28

你是不是整个C盘压缩过了? :em06
用PE把C盘的压缩去掉试试。
huobazi
帖子: 22
注册时间: 2009-11-16 16:42

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#20

帖子 huobazi » 2009-11-17 20:50

smallapple 写了:你是不是整个C盘压缩过了? :em06
用PE把C盘的压缩去掉试试。
C 盘没有压缩啊,才装win7没几天的 ,刚在PE里也确认了一遍,没有勾压缩的选项。
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#21

帖子 smallapple » 2009-11-17 20:58

把C盘文件 用 ls -l 贴上来
tusheng
帖子: 743
注册时间: 2007-09-18 8:45

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#22

帖子 tusheng » 2009-11-17 21:01

/dev/sda1 * 1 3534 28380208+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
难道问题出在这?
fdisk: Partition 1 does not start on cylinder boundary
The version of fdisk that comes with many Linux systems creates
partitions that fail its own validity checking. Unfortunately, if
you've already installed your system, there's not much you can do
about this, apart from copying the data off the partition, deleting
and remaking it, and copying the data back.

You can avoid the problem by getting the latest version of fdisk, from
Rik Faith's util-linux package (available on all the usual FTP sites).
Alternatively, if you are creating a new partition 1 that starts in
the first cylinder, you can do the following to get a partition that
fdisk likes.

* Create partition 1 in the normal way. A `p' listing will produce
the mismatch complaint.
* Type u to set sector mode and do p again. Copy down the number
from the End column.
* Delete partition 1.
* While still in sector mode, re-create partition 1. Set the first
sector to match the number of sectors per track. This is the
sector number in the first line of the p output. Set the last
sector to the value you wrote down in the step above.
* Type u to reset cylinder mode and continue with other partitions.

Ignore the message about unallocated sectors. They refer to the
sectors on the first track apart from the Master Boot Record, and they
are not used if you start the first partition in track 2.
上次由 tusheng 在 2009-11-17 21:23,总共编辑 1 次。
tusheng
帖子: 743
注册时间: 2007-09-18 8:45

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#23

帖子 tusheng » 2009-11-17 21:08

你硬盘的mbr,以前是把grub4dos写进去了?
huobazi
帖子: 22
注册时间: 2009-11-16 16:42

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#24

帖子 huobazi » 2009-11-17 21:11

我把那个 c:\下的 bootmgr都改成其他名字了 重启还是现实

bootmgr is compressed_

一个光标闪啊闪的
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#25

帖子 smallapple » 2009-11-17 21:18

你把bootmgr改名为 ntldr ,再回到PE下用 bootsect /nt52 C: 写入引导试试什么状况
liu999
帖子: 97
注册时间: 2009-09-19 17:31

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#26

帖子 liu999 » 2009-11-17 22:48

huobazi 写了:
tusheng 写了:奇怪了,bootsect /nt60 C:又不修改mbr的,怎么把grub冲掉了?

boot目录下有bcd文件吗?另外,sudo fdisk -l的结果也贴出来看看
marble@marble-ubuntu:~$ 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:~$

话说win7的100mB空间和C:的空间有一个单位的重叠,怎么回事。我这里也是。

怎么不让win7安装的时候建立它?

不选中bootmgr,空白的地方点属性是查看分区的压缩情况
问问题之前要先站内google搜索,时间多了就看置顶帖子,再不行就发问。
有关Windows启动,GNU GRUB和GRUB4DOS的一些启动流程与细节汇总
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#27

帖子 smallapple » 2009-11-17 22:52

话说win7的100mB空间和C:的空间有一个单位的重叠,怎么回事。我这里也是。
分区不是在柱面结束,没什么大不了的,你要不放心,用 sudo fdisk -ul 看看有没有重叠。
huobazi
帖子: 22
注册时间: 2009-11-16 16:42

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#28

帖子 huobazi » 2009-11-18 10:31

tusheng 写了:你硬盘的mbr,以前是把grub4dos写进去了?
安装win7的时候 只拷贝了两个文件和 win7的几个文件过去 后来选择格式化了啊
huobazi
帖子: 22
注册时间: 2009-11-16 16:42

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#29

帖子 huobazi » 2009-11-18 10:33

smallapple 写了:你把bootmgr改名为 ntldr ,再回到PE下用 bootsect /nt52 C: 写入引导试试什么状况
照做了
grub菜单 选择windows项目后

出现

<^<^_一个光标闪啊闪...
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 硬盘 grub4dus 装 win7 在装 ubuntu 9.10 选择 安装 grub 到 hd0,1 无法启动

#30

帖子 smallapple » 2009-11-18 10:45

不清楚是分区有问题还是文件有问题,把 /dev/sda1挂载上,文件列表看下

代码: 全选

sudo mount -t ntfs /dev/sda1 /mnt
ls -l /mnt
回复