PDA

View Full Version : [ubuntu] gparted doesn't work



Cozze
December 30th, 2010, 04:39 PM
I want to resize my root partition as it has become to small, so I installed Gparted. I can get the program running but the option to resize the partition isn't highlighted. I also tried to boot with the gparted iso file burned on a cd but nothing happens (even though cd rom is indicated as 1st choice in the boot menu). Anyone an idea?

IWantFroyo
December 30th, 2010, 04:40 PM
First you have to shrink a different partition, THEN you resize your root partition.

howefield
December 30th, 2010, 04:50 PM
You won't be able to resize a partition that is in use, as seems to to be the case here.

GParted is on the Ubuntu live CD, use that if you have one.

Also before messing around with your partitions, have any valuable data safely backed up elsewhere. :)

Cozze
December 31st, 2010, 10:05 AM
If I understand well I must boot with the ubuntu live cd and follow the installation procedure until I get to the partition part and adapt the partition size there. Won't I be reinstalling then?

wilee-nilee
December 31st, 2010, 10:11 AM
If I understand well I must boot with the ubuntu live cd and follow the installation procedure until I get to the partition part and adapt the partition size there. Won't I be reinstalling then?

No. First have you installed Ubuntu inside a live windows environment?

mcduck
December 31st, 2010, 10:21 AM
If I understand well I must boot with the ubuntu live cd and follow the installation procedure until I get to the partition part and adapt the partition size there. Won't I be reinstalling then?

No, boot to the live-CD's desktop. You don't need to (and shouldn't ) run the installer.

Cozze
January 6th, 2011, 02:26 PM
I booted with Gparted, but still it is not possible to schrink /home and thus to increase the / partition.

mcduck
January 6th, 2011, 02:49 PM
Without seeing your actual partition layout I can't really help much with that, apart from reminding that you can't edit a partition that is in use at the moment. So make sure those partitions aren't mounted...

srs5694
January 6th, 2011, 05:10 PM
There's a good chance that swap space is in use and that's causing the problem. There's an option to disable swap space from within GParted, so you could try that. If you still can't figure it out, take a screen shot of the main GParted window and post it here; somebody will recognize whatever icon denotes a problem and be able to advise you further. Also post a clear description of what you're attempting and where it's going wrong (e.g., "I click the Foo icon and select Resize Foo, but it responds 'go away you English pig-dog!'").

hansolo4949
January 6th, 2011, 05:15 PM
In a nutshell, what you need to do is boot from an Ubuntu livecd, open up gparted from the livecd, disable swap, shrink one of your other partitions, then expand that partition, and remember to unmount the hdd at the time of resizing. Most importantly, don't forget to back up your critical files!


hansolo4949):P