/dev/sdd4 97522580 68968 97453612 1% /media/新加卷
/dev/sdd3 71682028 68176 71613852 1% /media/新加卷_
/dev/sdd1 71681996 68176 71613820 1% /media/新加卷__
/dev/sdd2 71682028 68176 71613852 1% /media/新加卷___
Disk /dev/sdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x581f9f48
Device Boot Start End Blocks Id System
/dev/sdd1 1 8924 71681998+ 7 HPFS/NTFS
/dev/sdd2 8925 17848 71682030 7 HPFS/NTFS
/dev/sdd3 17849 26772 71682030 7 HPFS/NTFS
/dev/sdd4 26773 38913 97522582+ 7 HPFS/NTFS
255 * 63 * 512 = 16065 * 512 = 8225280 bytes
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition #删除一个分区
l list known partition types
m print this menu
n add a new partition #新增一个分区
o create a new empty DOS partition table
p print the partition table #显示分区表
q quit without saving changes #不存储改变就退出
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit #将之前的改动写入分区表
x extra functionality (experts only)
Command (m for help): d #需要进行删除操作
Partition number (1-4): 4 #选择删除第 4 个分区
[quote]
删除后,按下 p 键,看到如下结果:
[quote]
Device Boot Start End Blocks Id System
/dev/sdd1 1 8924 71681998+ 7 HPFS/NTFS
/dev/sdd2 8925 17848 71682030 7 HPFS/NTFS
/dev/sdd3 17849 26772 71682030 7 HPFS/NTFS
n
[quote]
出现提示:
[quote]
Command action
e extended #增加一个扩展分区
p primary partition (1-4) #增加一个主分区
Command (m for help): n #增加一个分区
Command action
e extended
p primary partition (1-4)
e
Selected partition 4
First cylinder (26773-38913, default 26773): 26773 #起始柱面
Last cylinder, +cylinders or +size{K,M,G} (26773-38913, default 38913): 38913 #结束柱面
Disk /dev/sdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x581f9f48
Device Boot Start End Blocks Id System
/dev/sdd1 1 8924 71681998+ 7 HPFS/NTFS
/dev/sdd2 8925 17848 71682030 7 HPFS/NTFS
/dev/sdd3 17849 26772 71682030 7 HPFS/NTFS
/dev/sdd4 26773 38913 97522582+ 5 Extended
Command (m for help): n
First cylinder (26773-38913, default 26773): 26773
Last cylinder, +cylinders or +size{K,M,G} (26773-38913, default 38913): +20G
Device Boot Start End Blocks Id System
/dev/sdd1 1 8924 71681998+ 7 HPFS/NTFS
/dev/sdd2 8925 17848 71682030 7 HPFS/NTFS
/dev/sdd3 17849 26772 71682030 7 HPFS/NTFS
/dev/sdd4 26773 38913 97522582+ 5 Extended
/dev/sdd5 26773 29384 20980858+ 83 Linux
mkfs -t ext3 /dev/sdd5
mke2fs 1.41.1 (01-Sep-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1313760 inodes, 5245214 blocks
262260 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
161 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |