parted
Verified for current stable LTS
Parted Command: Create Gpt Partition Table With Boot Partition
Use for create gpt partition table with boot partition with Parted. Exact CLI syntax to create gpt partition table with boot partition using Parted.
When to use this: Use for create gpt partition table with boot partition with Parted.
Command Syntax
sudo parted </dev/sdX> -s mklabel gpt mkpart "<boot_partition_name>" 0% 500MiB mkpart "<system_partition_name>" 500MiB 100% sudo parted </dev/sdX> -s mklabel gpt mkpart "<boot_partition_name>" 0% 500MiB mkpart "<system_partition_name>" 500MiB 100% Live Command Builder
Final Command
sudo parted </dev/sdX> -s mklabel gpt mkpart "<boot_partition_name>" 0% 500MiB mkpart "<system_partition_name>" 500MiB 100% Command Breakdown
-s- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create gpt partition table with boot partition using Parted.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Parted Command: Create New Partition Table
sudo parted </dev/sdX> mklabel <aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun> Parted Command: Display Help parted -h Parted Command: List Partitions All Block Devices sudo parted -l Parted Command: Set Partition Boot Flag sudo parted </dev/sdX> set <1> boot on Parted Command: Start Interactive Mode sudo parted </dev/sdX>