Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
The ONE Campaign to make poverty history

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 57 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       parted [options] [device [command [options...]...]]


       This  manual  page  documents  briefly the parted command.
       Complete documentation is distributed with the package  in
       GNU Info format; see below.

       parted  is a disk partitioning and partition resizing pro­
       gram.  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  sys­
       tems,  reorganising  disk  usage,  and copying data to new
       hard disks.


       -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.


              The block device to partition.

       [command [options]]
              Specifies a command to parted.  If  no  command  is
              given,  parted will give you a command prompt. Com­
              mands 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 par­
                     tition on the current device.

              help [command]
                     prints  general  help, or help on command if

              mkfs partition fs-type
                     make a filesystem fs-type on partition.  fs-

              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 num­

              name partition name
                     set  the  name  of  partition  to name. This
                     option works only on Mac  and  PC98  diskla­
                     bels.  The  name can be placed in quotes, if

              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" and "lba".
                     state should be either "on" or "off"


       Report bugs to <bug-parted@gnu.org>


       fdisk(8), mkfs(8), The parted program is documented  fully
       in  the GNU partitioning software manual available via the
       Info system.


       This  manual   page   was   written   by   Timshel   Knoll
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.13 Seconds