Context
While using my Ubuntu 20.04 VM, got the following warning
Clicking Examine one can see the following
In this case, the trash has only one file with 50,8 MB
so while one could trash it, would still get space problems when doing my operations.
This lead me to a quest to increase size of Ubuntu VM. From here was able to understand this is an operation that requires to inform the added space to the virtualization host (Virtualbox) and inside the guest OS.
Process
According to the instructions here and here, was able to understand how to proceed:
Create a new virtual disk.
Clone the existing virtual disk into the new virtual disk.
Replace the old virtual disk on your virtual machine with the new one.
Expand the partition in the new virtual disk clone.
So, this is the VM
Where now says 30,00 GB, initially had 10 GBs.
That value was increased simply by going to VirtualBox's Virtual Media Manager, increase the value in the slider and click Apply
After this modification, was able to use it fine for a couple of hours. Then, in the end of the day, when trying to Start it, while it looked like it was starting as normal
it soon redirected to a shrinked and black screen as you can see in the following image
Tried:
Turn On and Off the VM a couple of times.
Leave it over night (7-8 hours) to see if the machine would start but kept the black screen.
Increase the Video Memory from 16 MBs to 32 MBs and to 64 MBs (Settings > Display, as mentioned here.
Increase the processor count (Settings > System), as mentioned here.
Change Graphics Controller to VBoxSVGA (Settings > Display), as mentioned here.
Enable 3D Accelaration (Settings > Display) - doing the opposite as mentioned here.
Make sure Windows had all new updates in place
- Read VirtualBox's Forum looking for ideas. One person mentions
It's a problem of free space in my Disk . I increased my Disk space and Tada ! THe machine works !
Read Stack Exchange's QAs for ideas. This answer also has an interesting suggestion too - problem in VirtualBox Guest Additions.
Check the Logs (didn't see anything specific)
Here is the VBox log file
https://drive.google.com/file/d/1oiw-N2AoBO7ghToDlWT84jbkW89OoUXy/view?usp=sharing
Problem
How can I access the Ubuntu VM in order to resize it? If I'm not being able to access the VM, then I won't be able to finish the procedure and increase its size.