原来是这里的Extended 已经将最后的结束柱面指定为1106了,只要修改成8924应该就可以找回丢失的容量
,原因找到了,马上动手。
Command (m for help ) :d (删除分区)
Partition number (1-5) :4 (这里的4是sda4,Extended)
Command (m for help ) : p
Disk /dev/sda: 73.4G,73402398720 bytes
255 heads,63 sectors/track,8924 cylinders
Units=cylinders of 16065*512=8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 459 3582495 83 Linux
/dev/sda3 460 524 522112+ 82 Linux swap
Command (m for help ) :n (新建Extended分区)
Command action
e extended
p Primary partion (1-4)
e (输入e ,创建Extended分区)
Select partion 4
First cylinder (525-8924,default 525):回车(终于看到8924了,^_^)
Last Cylinder or +size or +sizeM or +sizeX (525-8924,default 8924): 回车
Command (m for help ) :p
Disk /dev/sda: 73.4G,73402398720 bytes
255 heads,63 sectors/track,8924 cylinders
Units=cylinders of 16065*512=8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 459 3582495 83 Linux
/dev/sda3 460 524 522112+ 82 Linux swap
/dev/sda4 525 8924 67473000 5 Extended
Command (m for help ) :n(新建原来的sda5分区,注意一定要与原来的起始与结束的柱面一致)
First cylinder (525-8924,default 525):回车
Last Cylinder or +size or +sizeM or +sizeX (525-8924,default 8924): 1041
Command (m for help ) :n(新建原来的sda6分区,同样注意一定要与原来的起始与结束的柱面一致)
First cylinder (1042-8924,default 1042):回车
Last Cylinder or +size or +sizeM or +sizeX (1042-8924,default 8924): 1106
Command (m for help ) :n(新建多余空间的分区)
First cylinder (1107-8924,default 1107):回车
Last Cylinder or +size or +sizeM or +sizeX (1107-8924,default 8924):回车 (全部做为新的分区
,也可以继续进行细分,看个人需要了)
#### 查看所有的分区情况 ####
Command (m for help ) :p
Disk /dev/sda: 73.4G,73402398720 bytes
255 heads,63 sectors/track,8924 cylinders
Units=cylinders of 16065*512=8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 459 3582495 83 Linux
/dev/sda3 460 524 522112+ 82 Linux swap
/dev/sda4 525 8924 67473000 5 Extended
/dev/sda5 525 1041 4152771 83 Linux
/dev/sda6 1042 1106 522081 83 Linux
/dev/sda7 1107 8924 62798053+ 83 Linux
注意对应的Blocks的大小是否与母盘一致!!
Command (m for help ) :w (保存并退出)
5.6建立新分区的文件系统:
mkfs –t ext3 /dev/sda7 (小心操作,一定要注意是不是你所要建立的分区)
5.7建立新分区卷标:
tune2fs –L/store /dev/sda7 (卷标自己根据需要定)
5.8加载新分区
mkdir /store
mount –t ext3 /dev/sda7 /store