parted
linux
A partition manipulation program. See also: `parted.interactive`, `cfdisk`, `partprobe`.
More info →Options (3)
-l, --listbooleanList partitions on all block devices
Example:
sudo parted {{[-l|--list]}}-s, --scriptbooleanCreate a new `gpt` partition table with a 500MiB boot partition and give the rest for the system partition (`--script` skips user intervention prompts)
Example:
sudo parted {{/dev/sdX}} {{[-s|--script]}} mklabel gpt mkpart "{{boot_partition_name}}" 0% 500MiB mkpart "{{system_partition_name}}" 500MiB 100%-h, --helpbooleanDisplay help
Example:
parted {{[-h|--help]}}Examples (6)
Create a new partition table of the specified label-type
Create a new `gpt` partition table with a 500MiB boot partition and give the rest for the system partition (`--script` skips user intervention prompts)
Display help
parted [-h|--help]made by @shridhargupta | data from tldr-pages