5

This question already has an answer here:

I installed Ubuntu with Windows. Before installing, I shrunk the space for Ubuntu. Now I have 3.7GB free in my Ubuntu home.That's not enough for me.

So I shrunk my NTFS partition, it's now unalocated. Then I selected ext4 (Ubuntu home) to resize.

But it is 4GB and GParted not allowed to resize more than 4GB. But my 1GB is unallocated.

GParted screenshot

marked as duplicate by Eric Carvalho, Fabby, αғsнιη, Wilf, Jos Feb 23 '15 at 21:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What error does it give? – Tim Feb 13 '15 at 13:24
  • No error.But it not allowed to resize ext4 to 5GB(not allowed to use that 1GB unlocated). – APKCracker Feb 13 '15 at 13:27
  • See the answer below. Also, you should re size the one below the one you have selected, /dev/sd8 is your ubuntu partition. – Tim Feb 13 '15 at 13:28
6

/dev/sda5 is a logical partition inside an extended partition (/dev/sda4), while the unallocated space lies outside of that extended partition.

You need to resize /dev/sda4 to include the unallocated space first, then resize /dev/sda8.

Unfortunately GParted won't let you touch /dev/sda4 (note the key symbol), because some of its children partitions are still mounted (more key symbols) and you can't unmount the root file system on /dev/sda7. To circumvent this issue, you need to perform the above procedure from a live system (analogous to How do I resize root partition?).

  • I can't resize /dev/sda4 (when I right click no option to resize).I can resize the /dev/sda6 but I can't(Minimum and maximum of resize are 15GB). – APKCracker Feb 13 '15 at 13:33
  • I overlooked something there, which I describe in the last paragraph I just added to my answer. – David Foerster Feb 13 '15 at 13:56
  • Good one! I missed that! (So upvote!) ;-) – Fabby Feb 16 '15 at 20:53
  • 1
    Note that extending a partition 'backwards' (or something like that - basically expanding it so it fills the space before it) can take a very long time and may damage your data. You will likely want to do backups beforehand. @David great answer :) – Wilf Feb 23 '15 at 8:34

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