安装win7后ubuntu无法启动的问题??
-
- 帖子: 133
- 注册时间: 2006-07-06 2:07
安装win7后ubuntu无法启动的问题??
以前装xp的时候,用livecd修复,
一般:
grub>
root (hd0,0)
setup (hd0)
就搞定了,
但是现在装了windows seven后,用livecd修复
在setup后,告诉我找不到分区,
具体英文怎么样忘了,意思就这样
一般:
grub>
root (hd0,0)
setup (hd0)
就搞定了,
但是现在装了windows seven后,用livecd修复
在setup后,告诉我找不到分区,
具体英文怎么样忘了,意思就这样
- anriqing
- 帖子: 189
- 注册时间: 2008-08-19 12:59
Re: 安装win7后ubuntu无法启动的问题??
前一段时间我自己安装过Windows 7 M3版,发现一个很有意思的现象:在这个版本中,划分系统分区时,会自动在系统分区之前划分出一个200MB的分区出来,比如我有10GB的硬盘,想将这10GB全部划分为系统分区,但是分区的结果却是第一个分区为200MB,第二个分区为9.8GB。Windows 7 安装完成之后,200MB的分区是看不到的,在虚拟磁盘工具中能看到,它被标记为系统和活动分区,也就是说Windows 7 M3是从这个200MB的小分区启动的。这就有点类似Linux下的Boot分区了。看看下面的图就知道了。
在Windows 7下是无法查看这个200MB的分区的,然后我想到了在Linux下查看,结果,果然不出我所料,这200MB的空间存储的是Windows 7的启动文件,Bootmgr,BCD等等。请看下图:
呵呵,前面是我自己的发现,这里公诸同好。楼主上面说原来使用grub命令时,用到了root (hd0,0),为什么会是这样呢,你的hd0,0是什么分区?如果不确定,可以在ubuntu下使用来查看。我的理解是root (hdx,y)应该指向Linux的/分区或者boot分区,而不是说一定要指向(hd0,0)的。如果楼主不太确定,可以将fdisk -l的结果贴上来,大家一起看一看。
在Windows 7下是无法查看这个200MB的分区的,然后我想到了在Linux下查看,结果,果然不出我所料,这200MB的空间存储的是Windows 7的启动文件,Bootmgr,BCD等等。请看下图:
呵呵,前面是我自己的发现,这里公诸同好。楼主上面说原来使用grub命令时,用到了root (hd0,0),为什么会是这样呢,你的hd0,0是什么分区?如果不确定,可以在ubuntu下使用
代码: 全选
sudo fdisk -l
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
Re: 安装win7后ubuntu无法启动的问题??
哦?那不是一下吃掉两个主分区?难道微软开始用 gpt 分区表了?你的 windows 7 还在吗?能不能贴一下anriqing 写了:前一段时间我自己安装过Windows 7 M3版,发现一个很有意思的现象......
sudo parted /dev/sda print
和
sudo fdisk -l
- anriqing
- 帖子: 189
- 注册时间: 2008-08-19 12:59
Re: 安装win7后ubuntu无法启动的问题??
原来的系统已经毁了,那时候我刚接触Linux不久,还不会使用这些命令,所以就没有具体看硬盘分区的状况。等我再装个M3看看。
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
- anriqing
- 帖子: 189
- 注册时间: 2008-08-19 12:59
Re: 安装win7后ubuntu无法启动的问题??
下面是我刚截的图。bear看看。billbear 写了:哦?那不是一下吃掉两个主分区?难道微软开始用 gpt 分区表了?你的 windows 7 还在吗?能不能贴一下anriqing 写了:前一段时间我自己安装过Windows 7 M3版,发现一个很有意思的现象......
sudo parted /dev/sda print
和
sudo fdisk -l
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
-
- 帖子: 133
- 注册时间: 2006-07-06 2:07
Re: 安装win7后ubuntu无法启动的问题??
应该不会有吃掉两个主分区,我的有3个主分区一个扩展,其中主分区用于win,扩展用于ubuntu,billbear 写了:哦?那不是一下吃掉两个主分区?难道微软开始用 gpt 分区表了?你的 windows 7 还在吗?能不能贴一下anriqing 写了:前一段时间我自己安装过Windows 7 M3版,发现一个很有意思的现象......
sudo parted /dev/sda print
和
sudo fdisk -l
如果这样,那不就是5个主分区了,
10min,查了相关的信息,估计用上了 gpt 分区表,可以支持128个“主分区”,牛B
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
Re: 安装win7后ubuntu无法启动的问题??
感动啊...anriqing 写了:原来的系统已经毁了,那时候我刚接触Linux不久,还不会使用这些命令,所以就没有具体看硬盘分区的状况。等我再装个M3看看。
看来还是老样子。。。Partition Table: msdos
就是说默认安装的 Windows 7 吃掉 2 个主分区,加上一个扩展分区,我们只剩一个主分区可用了。恶心。 c 盘可以是逻辑分区不?
没看明白。willian001 写了: 应该不会有吃掉两个主分区,我的有3个主分区一个扩展,其中主分区用于win,扩展用于ubuntu,
如果这样,那不就是5个主分区了,
-
- 帖子: 133
- 注册时间: 2006-07-06 2:07
Re: 安装win7后ubuntu无法启动的问题??
this is zhe result of "sudo fdisk -l" command on the livecd mode,
[/size]
代码: 全选
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
240 heads, 63 sectors/track, 15505 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xec89ec89
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2438 18431248+ 7 HPFS/NTFS
/dev/sda2 2439 7856 40960080 7 HPFS/NTFS
/dev/sda3 7857 13274 40960080 7 HPFS/NTFS
/dev/sda4 13275 15505 16859745 5 Extended
/dev/sda5 13275 15341 15615148+ 83 Linux
/dev/sda6 15341 15506 1245006 82 Linux swap / Solaris
ubuntu@ubuntu:~$
- anriqing
- 帖子: 189
- 注册时间: 2008-08-19 12:59
Re: 安装win7后ubuntu无法启动的问题??
在Live CD环境下,输入如下命令:
然后重启看看。
代码: 全选
sudo grub
root (hd0,4)
setup (hd0)
quit
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
Re: 安装win7后ubuntu无法启动的问题??
所以你应该willian001 写了:this is zhe result of "sudo fdisk -l" command on the livecd mode,
[/size]代码: 全选
ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes 240 heads, 63 sectors/track, 15505 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Disk identifier: 0xec89ec89 Device Boot Start End Blocks Id System /dev/sda1 * 1 2438 18431248+ 7 HPFS/NTFS /dev/sda2 2439 7856 40960080 7 HPFS/NTFS /dev/sda3 7857 13274 40960080 7 HPFS/NTFS /dev/sda4 13275 15505 16859745 5 Extended /dev/sda5 13275 15341 15615148+ 83 Linux /dev/sda6 15341 15506 1245006 82 Linux swap / Solaris ubuntu@ubuntu:~$
grub>
root (hd0,4)
setup (hd0)
另外,你好像没有 anriqing 说的那个 200 M 的小分区啊?
再贴一下
sudo parted /dev/sda print
-
- 帖子: 133
- 注册时间: 2006-07-06 2:07
Re: 安装win7后ubuntu无法启动的问题??
thank youanriqing 写了:在Live CD环境下,输入如下命令:然后重启看看。代码: 全选
sudo grub root (hd0,4) setup (hd0) quit
-
- 帖子: 133
- 注册时间: 2006-07-06 2:07
Re: 安装win7后ubuntu无法启动的问题??
ubuntu@ubuntu:~$ sudo parted /dev/sda print
Error: Can't have overlapping partitions.
Information: Don't forget to update /etc/fstab, if necessary.
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$
Error: Can't have overlapping partitions.
Information: Don't forget to update /etc/fstab, if necessary.
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$
- anriqing
- 帖子: 189
- 注册时间: 2008-08-19 12:59
Re: 安装win7后ubuntu无法启动的问题??
bear,其实那个200MB的分区也只是在win 7 R3版本上出现的,win 7最后如何定型,谁都说不准,说不定又改回来了呢,毕竟现在出来的都还是测试版本。
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
-
- 帖子: 133
- 注册时间: 2006-07-06 2:07
Re: 安装win7后ubuntu无法启动的问题??
我的没有那个的200M的启动区,不过有个BOOT文件夹,和linux类似,和xp不同
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
Re: 安装win7后ubuntu无法启动的问题??
哦,你的分区表有了小问题,下次重装 ubuntu 的时候,到了分区那一步你可能会无法继续,呵呵willian001 写了:ubuntu@ubuntu:~$ sudo parted /dev/sda print
Error: Can't have overlapping partitions.
Information: Don't forget to update /etc/fstab, if necessary.
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$
现在用 gparted 查看你的分区应该也只能看到一片空白。
sda6 超出了扩展分区的边界,并且越过了硬盘的边界 (15505 cylinders)