...
To create a new partition, use the mkpart
command. In this example, the partition is being created as a primary partition, formatted as ext4. The size dimension will extend from the beginning of the disk (0.00%) to 239GB. If your desired partition size is larger or smaller, alter the second size value accordingly.
...