Virtual Box on Windows Hangs

Discussions related to using VirtualBox on Windows hosts.
Post Reply
robert1234
Posts: 2
Joined: 9. Jul 2022, 19:26

Virtual Box on Windows Hangs

Post 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.
Attachments
lubuntusuccess.PNG
lubuntusuccess.PNG (53.62 KiB) Viewed 1124 times
ubuntufail2.PNG
ubuntufail2.PNG (38.4 KiB) Viewed 1124 times
ubuntufail.PNG
ubuntufail.PNG (30.14 KiB) Viewed 1124 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Virtual Box on Windows Hangs

Post 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.
AndyCot
Posts: 300
Joined: 29. Feb 2020, 03:04

Re: Virtual Box on Windows Hangs

Post 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
robert1234
Posts: 2
Joined: 9. Jul 2022, 19:26

Re: Virtual Box on Windows Hangs

Post 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:
Attachments
ubuntu-2022-07-09-13-30-28.zip
(29.69 KiB) Downloaded 2 times
lubuntu-2022-07-09-13-35-50.zip
(30.33 KiB) Downloaded 3 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Virtual Box on Windows Hangs

Post 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).
AndyCot
Posts: 300
Joined: 29. Feb 2020, 03:04

Re: Virtual Box on Windows Hangs

Post by AndyCot »

Please note that turning off Hyper-V will stop WSL2 working.
Post Reply