parted
Verified for current stable LTS
Parted Command: Create New Partition Table
Use for create new partition table with Parted. Exact CLI syntax to create new partition table using Parted.
When to use this: Use for create new partition table with Parted.
Command Syntax
sudo parted </dev/sdX> mklabel <aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun> sudo parted </dev/sdX> mklabel <aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun> Live Command Builder
Final Command
sudo parted </dev/sdX> mklabel <aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun> Command Breakdown
sudo is the base executable for this command.
FAQ
Purpose: Exact syntax to create new partition table 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 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 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>