Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I installed linux, there was a program that ran during installation which allowed me to allocate space from my hard disk to create a new partition. I think this was the GNOME Partition Editor; gparted.

Essentially it resized the (one and only) partition on the disk (which happened to be NTFS), it moved files around to create a continuous free space for the creation of a new partition.

I want now to resize my partitions again using the same program, that is, gparted.

If I run this program normally from linux, I can't resize any partition; the resize buttons are disabled. What can I do about this? I've thought of the following:

  • Unmount all paritions first. This might enable resizing them, but could be dangerous, I don't want to try it without knowing the consequences first.
  • Run gparted from a live CD. This is the obvious solution, but a bit of a hassle, and you'd think there could be a better way.

What should I do?

share|improve this question

3 Answers 3

up vote 13 down vote accepted

run gparted from a live CD. it's not that much of a hassle, and it works with NTFS.

you shouldn't resize partitions on-the-fly from the running OS, even when unmounted, it's just asking for trouble

share|improve this answer

Running from the LiveCD is the best bet.

One of the problems I used to run into was the swap partition. Since you have Linux installed, it should have a swap partition that the LiveCD will start using as well. Make sure to right click and select 'Swapoff' on the swap partition, this will allow you to manipulate all of the drives partitions

share|improve this answer
3  
nice tip for the swap partition! –  zappan Aug 11 '09 at 15:00

I believe the NTFS support is not install by default, while it is on the LiveCD. To install NTFS support, use the ntfsprogs package.

sudo apt-get install ntfsprogs

Then restart gparted and you should be able to resize the partition.

Note that if the NTFS partition was not powered down correctly, gparted will still give you issues. The solution in that case is to put the drive in a Windows computer, boot it, run:

chkdsk /f

Shutdown and boot it cleanly a few times in Windows. Then put it into you Ubuntu machine, and try gparted again.

share|improve this answer
    
Why the down vote? Considering this is the one answer that actually answered the question (how to run GParted from an installation). No offense to the 'Run it from the LiveCD' answers (good answers), I just don't understand the downvote to a correct and helpful answer. –  Tim Lytle Sep 23 '09 at 16:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.