Disk Management

Grow non-LVM ext4 partition

ATTENTION: Please note that the partition to enlarge has to be the last one with
the free space after it.

SSH into the VM.

In the following it is assumed that the partition to enlarge is /dev/sda2

Now you need to resize the filesystem with resize2fs /dev/sda2.

Error solving

sudo: unable to open ... Read-only file system

Ususally the filesystem will go into read-only mode whe the system is running
and there is a consistency error.
To fix it run: