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>

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

Back to Parted directory