Here8217s the scenario you may come across sooner or later.
You installed one or more operating systems in VirtualBox. While creating those virtual operating systems you also created virtual hard disks for them in VirtualBox.
You specified the maximum size of the virtual disk to say 15 or 20 GB but now after using it for some time you realize that your virtual machine is running out of space.
While there are ways to free up disk space on Ubuntu and other operating systems a more robust way of handling the situation is to increase the disk size of your virtual machines created in VirtualBox.
Yes you can enlarge the virtual hard disk in VirtualBox even after creation. Although this is a safe and tested procedure it is highly recommended to create a backup of your virtual machine before you perform such an action.
News Link: https://itsfoss.com/increase-disk-size-virtualbox/.
RSS Link: https://itsfoss.com/feed/.