Page 1 of 1

VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Posted: 8. Sep 2022, 21:45
by kyrlon
Hello,

My VM was running without any problems before, but now it appears to hang after the Ubuntu logo and never fully loads. I have all of my logs attached. The installation of runtime libraries from Microsoft Visual C++ Redistributable (VS 2015-2022, AND VS 2013)are the only thing that comes to mind that could be a contributing element.

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Posted: 14. Sep 2022, 20:44
by kyrlon
black_screen.PNG
black_screen.PNG (14.17 KiB) Viewed 905 times
Here is an example of my VM that just hangs when trying to boot.

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Posted: 14. Sep 2022, 21:04
by scottgus1
The log does not show any problems with the VM's 'hardware'.

Ubuntu is known to go blackscreen if there is not enough free disk space to start the desktop environment. This happens in real PCs too. The solution is to log on text-only and delete stuff until the desktop environment can start. Web-search how to fix this in an Ubuntu PC and apply the steps to the VM. Also see How to Resize a Drive

Also, host Hyper-V is enabled. This may mean that the VM OS is running, but vvvvvveeeeeerrrrrryyyyyyy slowly. See HMR3Init: Attempting fall back to NEM (Hyper-V is active).

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Posted: 15. Sep 2022, 22:31
by kyrlon
I appreciate your comment and the advice you offered. My initial suspicion was that log files being generated were taking up space once you cited the issue of low disk space being a major factor. I haven't seen this solution on other posts/forums, but it's good to know now. After the log file purge, the VM is able to load the session as before, and I was able to increase its disk with gparted:

Code: Select all

sudo apt install gparted
Thanks again for saving me with such a headache.

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Posted: 15. Sep 2022, 22:36
by scottgus1
Great! Glad you're up and running.