[root@wanghaiyang ~]# fdisk /dev/sdb
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1 #第一个分区
First cylinder (1-2610, default 1): #直接回车
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-2610, default 2610): +5G #下限范围
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2 #第二个分区
First cylinder (655-2610, default 655): #直接回车
Using default value 655
Last cylinder, +cylinders or +size{K,M,G} (655-2610, default 2610): +5G #下限范围
Command (m for help): n
Command action
e extended #扩展分区
p primary partition (1-4)
e #扩展分区
Partition number (1-4): 4
First cylinder (1309-2610, default 1309): #直接回车
Using default value 1309
Last cylinder, +cylinders or +size{K,M,G} (1309-2610, default 2610): #直接回车
Using default value 2610
Command (m for help): n
Command action
l