parted
Verified for current stable LTS
Parted Commands
Parted command syntax with verified terminal examples.
Commands
6 commands for Parted
parted Operations
Parted Command: Create Gpt Partition Table With Boot Partition
sudo parted </dev/sdX> -s mklabel gpt mkpart "<boot_partition_name>" 0% 500MiB mkpart "<system_partition_name>" 500MiB 100% parted Operations
Parted Command: Create New Partition Table
sudo parted </dev/sdX> mklabel <aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun> parted Operations
Parted Command: Display Help
parted -h parted Operations
Parted Command: List Partitions All Block Devices
sudo parted -l parted Operations
Parted Command: Set Partition Boot Flag
sudo parted </dev/sdX> set <1> boot on parted Archive
Parted Command: Start Interactive Mode
sudo parted </dev/sdX> Suggest a Parted Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Parted workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.