我预留安装 ubuntu 的分区在最后,大小是12个G。
先把 fdisk -l 贴出来:(感谢论坛的Paste功能)
代码: 全选
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb559361c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1935 15541248 7 HPFS/NTFS
/dev/sda2 1936 2433 3992184 f W95 Ext'd (LBA)
/dev/sda3 2433 4982 20482843+ 7 HPFS/NTFS
/dev/sda5 4983 8169 25599546 7 HPFS/NTFS
代码: 全选
ubuntu@ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xb559361c
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 31084543 15541248 7 HPFS/NTFS
/dev/sda2 31085775 39070142 3992184 f W95 Ext'd (LBA)
/dev/sda3 39070143 80035829 20482843+ 7 HPFS/NTFS
/dev/sda5 80035893 131234984 25599546 7 HPFS/NTFS
代码: 全选
ubuntu@ubuntu:~$ sudo parted /dev/sda print
Error: Can't have overlapping partitions.
一下是截图: