parted.interactive
partition manipulation program that supports both MBR and GPT partition tables
TLDR
Start interactive mode with the specified disk selected
SYNOPSIS
parted [options] [device]
DESCRIPTION
parted is a partition manipulation program that supports both MBR and GPT partition tables. In interactive mode, it provides a command-line interface for viewing and modifying disk partitions.
The interactive mode allows real-time partition management with immediate feedback on changes. It supports various filesystem types including ext2, ext3, ext4, btrfs, fat16, fat32, ntfs, and xfs.
PARAMETERS
print
Display partition table informationselect device
Select a disk to work withmkpart name fs-type start end
Create a new partitionresizepart partition end
Resize a partitionrm partition
Remove a partition?
Display help for interactive commands
CAVEATS
Partition changes can result in data loss. Always backup important data before modifying partitions. Some operations require the partition to be unmounted first.
HISTORY
Part of GNU Parted, developed as a free partition editor supporting multiple partition table types and filesystems.
