3.5.15. parted - edit partition tables Usage

parted <device> [command [options...]...] Synopsis

parted is a partition manipulation program with a behaviour similar to GNU Parted

commands: Options


print partitions

mklabel <type>

create a new partition table

rm <num>

remove a partition

mkpart <name> <fstype> <start> <end>

create a new partition

unit <unit>

change display/input units


refresh a partition table Description

<unit> can be one of "s" (sectors), "B" (bytes), "kB", "MB", "GB", "TB", "KiB", "MiB", "GiB" or "TiB" <type> must be "gpt" <fstype> can be one of "ext2", "ext3", "ext4", "fat16", "fat32" or "bbenv" <name> for MBR partition tables can be one of "primary", "extended" or "logical". For GPT this is a name string.