8 Linux ‘Parted’ Commands to Create, Resize and Rescue Disk Partitions

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Marin Todorov

I am a bachelor in computer science and a Linux Foundation Certified System Administrator. Currently working as a Senior Technical support in the hosting industry. In my free time I like testing new software and inline skating.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

6 Responses

  1. Kumar Nikhil says:

    resizepart not working in 2.1 edition. why it so?

    • Marin Todorov says:

      Version 2.1 is an older one and the option in there is called “resize”. See below:

      $ parted -v
      parted (GNU parted) 2.1

      $ parted -h | grep resize
      resize NUMBER START END resize partition NUMBER and its file

      It’s always a good practice to check command’s manual and help list and look for additional options you may need.

  2. Ino Van Winckel says:

    Hey

    I tried to resize my primary partition and it worked, the only problem i run into now is that linux thinks the whole partition is full but I know it’s all free space… How can I allocate this free space on my HD into the primary partition and use it as free space?

    • Hello Ino,

      Do you mean that the new partition is showed as allocated? If the whole partition is free, did you try to format it? Alternatively, you may try to run resize2fs on the partition you are resizing and see if this resolves the issue for you.

  3. Jalal Hajigholamali says:

    Hi,
    Very nice article

    Thanks a lot

  4. K Raghunathan says:

    Useful list of parted functions. Resizing, particularly, needed when os has been updated repeatedly. Thanks

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's