So my dilemma is that my Ubuntu installation is on the last partition. Here is a screenshot of GParted.

GParted screenshot

Also on a hdd. Not sure if it makes a difference.

  • The little key icons show your mounted partitions. So you cannot edit those partitions. Use live installer as per answer below.
    – oldfred
    Commented Nov 26, 2020 at 3:38

1 Answer 1


You won’t be able to resize the partition that you are current running in - it appears here that you’re booted into the Linux install that’s running on /dev/sda5? If that’s the case, you can boot a liveCD or a USB installer, so that all of the partitions on /dev/sda are unmounted. Once unmounted and booted from a liveCD you should be able to extend/resize those partitions into the unallocated space.

  • Ok I will try it.
    – Afinnity
    Commented Nov 27, 2020 at 21:20
  • If that works, please accept/upvote accordingly. If not, let us know where you got stuck.
    – ljwobker
    Commented Dec 1, 2020 at 20:15

You must log in to answer this question.

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