Ubuntu10.04用光盘安装系统时只能显示硬盘, 不能显示分区!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
Softwaring
帖子: 11
注册时间: 2010-08-26 9:51

Ubuntu10.04用光盘安装系统时只能显示硬盘, 不能显示分区!

#1

帖子 Softwaring » 2010-10-18 13:56

想要继续安装得全盘格式化, 是不是分区表有问题, 求解决办法

谢谢!!!
Softwaring
帖子: 11
注册时间: 2010-08-26 9:51

Re: Ubuntu10.04用光盘安装系统时只能显示硬盘, 不能显示分区!

#3

帖子 Softwaring » 2010-10-19 13:16

楼上的链接很好, 可我看不太懂, 我把一些信息贴出来吧,


ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x81728172

Device Boot Start End Blocks Id System
/dev/sda1 * 2 2551 20482875 7 HPFS/NTFS
/dev/sda2 2552 18407 127363289+ f W95 Ext'd (LBA)
/dev/sda5 2552 7651 40965718+ 7 HPFS/NTFS
/dev/sda6 7652 10234 20746168+ 7 HPFS/NTFS
/dev/sda7 10234 12641 19330048 83 Linux
/dev/sda8 12641 12751 886784 82 Linux swap / Solaris
/dev/sda9 12752 18651 47391718+ 7 HPFS/NTFS
ubuntu@ubuntu:~$ sudo parted /dev/sda print
错误:分区之间不能重叠。
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: Ubuntu10.04用光盘安装系统时只能显示硬盘, 不能显示分区!

#4

帖子 onshoestring » 2010-10-19 13:29

/dev/sda2 2552 18407 127363289+ f W95 Ext'd (LBA)
/dev/sda9 12752 18651 47391718+ 7 HPFS/NTFS
sda9结束在sda2之外。
先备份sda9数据,删除sda9应该能解决问题。

代码: 全选

sudo fdisk -lu
看看
上次由 onshoestring 在 2010-10-19 13:49,总共编辑 1 次。
Softwaring
帖子: 11
注册时间: 2010-08-26 9:51

Re: Ubuntu10.04用光盘安装系统时只能显示硬盘, 不能显示分区!

#5

帖子 Softwaring » 2010-10-19 13:46

楼上是什么意思?不太明白, 又按你说的运行了一下, 结束如下:

ubuntu@ubuntu:~$ sudo fdisk -lu

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x81728172

Device Boot Start End Blocks Id System
/dev/sda1 * 16065 40981814 20482875 7 HPFS/NTFS
/dev/sda2 40981876 295708454 127363289+ f W95 Ext'd (LBA)
/dev/sda5 40981878 122913314 40965718+ 7 HPFS/NTFS
/dev/sda6 122913378 164405714 20746168+ 7 HPFS/NTFS
/dev/sda7 164407296 203067391 19330048 83 Linux
/dev/sda8 203069440 204843007 886784 82 Linux swap / Solaris
/dev/sda9 204844878 299628314 47391718+ 7 HPFS/NTFS
ubuntu@ubuntu:~$ sudo parted /dev/sda print
错误:分区之间不能重叠。
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: Ubuntu10.04用光盘安装系统时只能显示硬盘, 不能显示分区!

#6

帖子 onshoestring » 2010-10-19 14:11

/dev/sda2 40981876 295708454 127363289+ f W95 Ext'd (LBA)
/dev/sda9 204844878 299628314 47391718+ 7 HPFS/NTFS
就是说sda9逻辑分区有一部分跑到sda2扩展分区之外了。
另外还有大约16-17G空间没有使用。
---------------------
把sda9数据备份出来,删除sda9,重建sda9。
Softwaring
帖子: 11
注册时间: 2010-08-26 9:51

Re: Ubuntu10.04用光盘安装系统时只能显示硬盘, 不能显示分区!

#7

帖子 Softwaring » 2010-10-19 14:44

能找到分区了, 谢谢了!!!

就按楼上的办法可以,
再次感谢!!!!! :em09
回复