Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
parted(8)
Edit
PageHistory
Diff
Info
LikePages
!!NAME GNU Parted - a partition manipulation program !!SYNOPSIS __parted__ [[options] [[device [[command [[options...]...]] !!DESCRIPTION This manual page documents briefly the __parted__ command. Complete documentation is distributed with the parted-doc Debian package in GNU Info format; see below. __parted__ is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux-swap, FAT and FAT32 partitions. This is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks. !!OPTIONS ;__-h, --help__ : displays a help message. ;__-i, --interactive__ : where necessary, prompts for user intervention. ;__-s, --script__ : never prompts for user intervention. ;__-v, --version__ : displays the version. !!COMMANDS ;__[[device]__ : The block device to partition. ;__[[command [[options]]__ : Specifies a command to parted. If no command is given, parted will give you a command prompt. Commands are: ;__check ''partition''__ : does a simple check on ''partition''. ;__cp ''[[source-device]'' ''source'' ''dest''__ : copies the ''source'' partition's filesystem on ''source-device'' (or the current device if no other device was specified) to the ''dest'' partition on the current device. ;__help ''[[command]''__ : prints general help, or help on ''command'' if specified. ;__mkfs ''partition'' ''fs-type''__ : make a filesystem ''fs-type'' on ''partition''. ''fs-type'' can be one of "FAT", "ext2" or "linux-swap". ;__mklabel ''label-type''__ : Creates a new disklabel (partition table) of ''label-type''. ''label-type'' should be one of "bsd", "gpt", "loop", "mac", "mips", "msdos", "pc98" or "sun". ;__mkpart ''part-type'' ''[[fs-type]'' ''start'' ''end''__ : make a ''part-type'' partition with filesystem ''fs-type'' (if specified), beginning at ''start'' and ending at ''end'' (in megabytes). ''part-type'' should be one of "primary", "logical" or "extended" ;__mkpartfs ''part-type'' ''fs-type'' ''start'' ''end''__ : make a ''part-type'' partition with filesystem ''fs-type'' beginning at ''start'' and ending at ''end'' (in megabytes) ;__move ''partition'' ''start'' ''end''__ : move ''partition'' to start at ''start'' and end at ''end''. Note: move never changes the minor number ;__name ''partition'' ''name''__ : set the name of ''partition'' to ''name''. This option works only on Mac and PC98 disklabels. The name can be placed in quotes, if necessary ;__print__ : displays the partition table ;__quit__ : exits parted ;__resize ''partition'' ''start'' ''end''__ : resize the filesystem on ''partition'' to start at ''start'' and end at ''end'' megabytes ;__rm ''partition''__ : deletes ''partition'' ;__select ''device''__ : choose ''device'' as the current device to edit. ''device'' should usually be a Linux hard disk device, but it can be a partition, software raid device or a LVM logical volume if that is necessary ;__set ''partition'' ''flag'' ''state''__ : change the state of the ''flag'' on ''partition'' to ''state''. Flags supported are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba" and "palo". ''state'' should be either "on" or "off" !!REPORTING BUGS Report bugs to <bug-parted@gnu.org> !!SEE ALSO fdisk(8), mkfs(8), The ''parted'' program is documented fully in the ''GNU partitioning software'' manual available via the Info system. !!AUTHOR This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others).
5 pages link to
parted(8)
:
PartitioningSuggestions
GPT
cfdisk(8)
fdisk(8)
sfdisk(8)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.