VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Discussions related to using VirtualBox on Windows hosts.
Post Reply
kyrlon
Posts: 3
Joined: 8. Sep 2022, 21:34

VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Post 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.
Attachments
logs_9_8_22.zip
(181.35 KiB) Downloaded 5 times
kyrlon
Posts: 3
Joined: 8. Sep 2022, 21:34

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Post by kyrlon »

black_screen.PNG
black_screen.PNG (14.17 KiB) Viewed 834 times
Here is an example of my VM that just hangs when trying to boot.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Post 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).
kyrlon
Posts: 3
Joined: 8. Sep 2022, 21:34

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Post 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.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VirtualBox Ubuntu 20.04 LTS Session now hangs after starting

Post by scottgus1 »

Great! Glad you're up and running.
Post Reply