VirtualBox guest not recognizing increased HDD space
In case you are using snapshot, you need to get rid of those if you enlarged the base VDI.
But be warned it is not supported to enlarge snapshots and can actually corrupt your disks, especially when doing it on the base disk.
Be sure to make a backup of your VM if you care for it.