# create a new MBR/MSDOS partition table for BIOS systems (parted) mklabel msdos # create a new GPT partition table for UEFI systems instead, use: (parted) mklabel gpt # grow a partition (parted) resizepart ${number} ${end}