Command (m for help): m
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):w //保存更改并退出
fdisk /dev/sda //准备分区拉
Command (m for help):n //创建一个新的分区
出现2个选项:e 和p e是扩展分区,p是主分区,我们要选主分区,否则会出错(反正我选e是错了)