Page 1 of 1

Virtual Box on Windows Hangs

Posted: 9. Jul 2022, 19:35
by robert1234
I am trying to run Ubuntu on Virtual Box, on a Windows 10 host, but when I try to start up an Ubuntu VM with settings shown in the attachment ubuntufail.PNG, it simply hangs at the boot screen shown in that image.
I get a similar result when I try the settings in ubuntufail2.PNG.
I can, however, run LUbuntu with the settings in lubuntusuccess.PNG, even with VBoxGuestAddtions.iso running.
I have installed an Ubuntu WSL instance on this machine as well, but would still like to use VirtualBox.
Any help would be appreciated.

Re: Virtual Box on Windows Hangs

Posted: 10. Jul 2022, 10:25
by mpack
Provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.

Re: Virtual Box on Windows Hangs

Posted: 10. Jul 2022, 11:21
by AndyCot
As you are using WSL2 you have two options if you want to keep using WSL2:
1) Go back to 6.1.30 I think
2) Grab the latest 6.1.35 test release from https://www.virtualbox.org/wiki/Testbuilds . BUT make sure you keep a copy of the files as they get clobbered on a new release.

If you do NOT want to use WSL2 then disable hyper-v as per the following:
viewtopic.php?f=25&t=99390

Re: Virtual Box on Windows Hangs

Posted: 10. Jul 2022, 17:13
by robert1234
Here are my logs. The "vboxnowork" just said that it had no log file available.
Also, version 6.1.30 seems to be working with those VM settings that didn't work. It seems to be a little slower than I remember, but maybe I am just not remembering the last time I used VBox. :lol:

Re: Virtual Box on Windows Hangs

Posted: 10. Jul 2022, 19:19
by mpack
You have Hyper-v enabled.
00:00:02.767475 HM: HMR3Init: Attempting fall back to NEM: VT-x is not available
00:00:02.811242 NEM: info: Found optional import WinHvPlatform.dll!WHvQueryGpaRangeDirtyBitmap.
00:00:02.811293 NEM: WHvCapabilityCodeHypervisorPresent is TRUE, so this might work...
See HMR3Init: Attempting fall back to NEM (Hyper-V is active).

I suggest you also get into the habit of giving each VM 2 CPU cores, otherwise performance of a modern OS will not be what you are used to (since they are used to having more then one core).

Re: Virtual Box on Windows Hangs

Posted: 11. Jul 2022, 01:45
by AndyCot
Please note that turning off Hyper-V will stop WSL2 working.