4

Hi I have a 20 GB partition for / and 14 GB for /home. I want to shrink C:/ to 20 GB and add each 10 GB to / and /home. But I cannot do this as if I shrink C drive, the unallocated 20 GB is cannot be added to either / or /home. For more info I am telling that 4 drives are extended partition and the rest is primary. So how to extend this partition?

Screenshot of Windows 7 Disk Management - http://img12.imageshack.us/img12/5977/snap1sv.jpg

enter image description here

3
  • Is there a reason why you want / to be 30Gb? Seems rather large. I'd agree with the use of gparted from live environments - but I would be inclined to use the windows disk too to do the initial shrink of the windows partition. Apr 15, 2012 at 8:23
  • just want it to be 30 GB in case if ever I have low on /.
    – Jeoge
    Apr 15, 2012 at 8:28
  • possible duplicate of [Is there any way I can increase my home folder size without uninstalling again? ](askubuntu.com/questions/110060/…) Apr 17, 2012 at 0:44

2 Answers 2

3

I have done this many times and the best way is to either boot Ubuntu from live CD or from HDD.

then make sure everything needed is install.

sudo apt-get install gparted ntfsprogs 

enter image description here Open Gparted , make sure C: is unmounted.

click and select resize , then apply.

after doing this you will need to be on a Live CD.

to resize your / & /home partitions

2
1

Boot from Ubuntu LiveCD and use GParted to resize your C: partition, then move the C: partition farther by 10Gb - this will create a 10Gb hole after your / partition. Resize your / partition to use that space.

Then move the origin of the extended partition to use the unallocated 10Gb after the C: partition, and move the logical partitions inside the extended partition one by one so the empty space is at the end of the extended partition. Resize the extended partition shrinking its size by 10 Gb.

Then resize the /home partition.

TL;DR: Boot from Ubuntu LiveCD; move partitions one by one. :) (also I'm not sure I correctly understood which partition is which)

As jippie pointed out, make sure you have backups!

Also, moving the origin of any bootable partitions will require re-configuring the boot-loader, GParted warns about this and gives an URL to a page with detailed instructions

4
  • 2
    GParted has a good track record, but be sure to make backups of your files!
    – jippie
    Apr 15, 2012 at 7:56
  • @jippie: good point!
    – Sergey
    Apr 15, 2012 at 8:00
  • Doing this, Will lead to a reinstallation of Windows?
    – Jeoge
    Apr 15, 2012 at 8:17
  • I think No, but it will be better backup your C:/ in case of system failure.
    – Ravi
    Apr 15, 2012 at 8:19

You must log in to answer this question.

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