d delete a partition F list free unpartitioned space l list known partition types n add a new partition p print the partition table t change a partition type v verify the partition table i print information about a partition Misc m print this menu u change display/entry units x extra func...
n add a new partition p print the partition table t change a partition type v verify the partition table i print information about a partition Misc m print this menu u change display/entry units x extra functionality (experts only) Script I load disk layout from sfdisk script file O dump ...
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 #修改分区id u change display/entry units v verify the partition table w writ...
l list known partition types m print this menu nadd 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...
d delete a partition F list free unpartitioned space l list known partition types n add anewpartition p print the partition table t change a partition type v verify the partition table i print information about a partition Misc m printthismenu ...
d delete a partition F list free unpartitioned space l list known partition types n add a new partition p print the partition table t change a partition type v verify the partition table i print information about a partition Misc m print this menu ...
u change display/entry units v verify the partition table w write table to disk and exit ##保存分区标信息到硬盘 x extrafunctionality(experts only) 第三步:建立主分区 代码语言:javascript 复制 [root@localhost Desktop]# fdisk/dev/vdb Welcome tofdisk(util-linux2.23.2).Changes will remaininmemory...
Disk /dev/vda: 42.9 GB:表示硬盘 vda 有 42.9GB 大小 Disk label type: dos:表示硬盘分区表类型是DOS,也称为MBR /dev/vda1:表示硬盘 vda 有1个分区为 /dev/vda1 2、1块系统盘+1块数据盘,并且数据盘未分区 代码语言:shell 复制 # 示例fdisk-l# 可能返回以下内容Disk /dev/vda:53.7GB,53687091200byte...
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): p ---打印分区表 Command (m for help): n ---新建一个分区 Partition type:p primary (2 prima...
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): n # 添加分区 Partition type: p primary (1 primary, 0 extended, 3 free) ...