3.5.15. parted - edit partition tables¶
3.5.15.1. Usage¶
parted <device> [command [options...]...]
3.5.15.2. Synopsis¶
parted is a partition manipulation program with a behaviour similar to GNU Parted
commands:
3.5.15.3. 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
refresh a partition table
3.5.15.4. 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.