-
Turn off your virtual machine
-
Go to
Settings > SCSI Controller > Hard Drive
. In the Media section, edit the Virtual Hard Disk and expand to desired space -
Start the virtual machine and connect to it
-
Install the GParted by running the command
sudo apt install gparted