mkpart Verified current stable Not installed?

Mkpart / Create 16gb Partition Gpt Linux

Create 16gb Partition Gpt Linux

Mkpart command syntax to create 16gb partition gpt linux. Copyable examples, output expectations, and common mistakes.

$
Terminal
mkpart <partition_name> <btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs> <0%> <16G>

Command Breakdown

What each part is doing

mkpart
Base Command
The executable that performs this operation. Here it runs Mkpart before the shell applies any redirect operators.
<partition_name>
partition name
The value supplied for partition name.
<btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs>
btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux swap|ntfs|reiserfs|udf|xfs
The value supplied for btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux swap|ntfs|reiserfs|udf|xfs.
<0%>
0%
The value supplied for 0%.
<16G>
16G
The value supplied for 16G.