I am running a Xubuntu 14.04 guest in VirtualBox (on a Win 7 host).
The virtual disk ("Dynamically allocated") filled up, so I followed this answer using VBoxManage modifyhd to increase its size, which was easy.
Next time I started the Xubuntu guest however didn't show any free space on the drive, also gparted still shows the old disk size.
What do I have to do to make the guest recognise that the size has changed so it can make use of the added space?
gparted: 1) Use the "Swapoff" feature on the swap partition to unlock the partition editing. 2) Grow the volume which includes theswappartition to fill all the "unallocated space". 3) Move theswappartition inside that volume to the very end and 4) shrink the volume from the left to include just theswapwhich is on the far right. This resulted in "unallocated space" between the main partition and the volume withswap. 5) So I could grow the main partition to fill the free space and voila, I had space available again! – FriendFX Dec 17 '15 at 00:58