0

How to extend Ubuntu installation partition size?

I have accidentally given Ubuntu less hard disk size then I know I need.

I need more size because I do web development and often use heavy IDE like PyCharm.

I have an extra free 22 GB partition and want to add it to the Ubuntu partition.

Is there any way to do this? I have previously tried gparted but on boot Ubuntu primary partition is not resizing. How can I do this ?

here is snapshot of partitions: Disks view

David DE
  • 2,316

1 Answers1

0

I don't have enough rep for commenting, so I'll leave this here.

First, back up everything important, may be make a backup of the system with Timeshift.

  • You need a live media for this. Boot into Ubuntu (or for that matter, any distro with gparted) with a live USB or CD.

  • Choose "Try Ubuntu" and run GParted. If you don't have that on that distro, try installing it.

  • Then you can safely unmount (if already mounted) and resize your / partition from there.

  • You cannot resize your / partition if you boot into the Ubuntu that's on your drive (ie, the installed version).

ParaPsychic
  • 321
  • 3
  • 3