As you are using LVM (the logical volume manager) for your system, there are some ways to do that. You could create a new (primary) partition in the free space and add it to the LVM device. Or first extend the "extended partition" (/dev/sdb2
), then create a new logical partition and extend the LVM then.
I'd recommend the following steps:
In GParted
, first extend the "extended partition" /dev/sdb2
to use the whole disk, and after that extend /dev/sdb5
to use the whole extended partition.
Restart your system then, running the installed OS (not the live system). You now have to work with the different stages of LVM. If you are not very used to the linux commandline, I suggest to install the package system-config-lvm
by sudo apt install system-config-lvm
. This gives you a graphical interface to the LVM configuration. You can start this by running system-config-lvm
from the commandline or selecting the application in your system menu.
As I do not currently use LVM on my system, I cannot give you more advice how to use this tool (e.g. with screenshots). But if you come so far and have additional problems/questions, just address a comment to this answer. If you prefer to use the commandline tools, I could give you more hints then.