8

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?

3 Answers 3

13

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

6

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

1
  • 3
    nice tip for the swap partition!
    – zappan
    Aug 11, 2009 at 15:00
0

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.

1
  • 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, 2009 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .