Page 1 of 1

[SOLVED] VMs freeze when booting into ISOs on Win 10 VB 6.1 host

Posted: 31. Dec 2019, 23:34
by avamk
Hello,

I've got Virtualbox 6.1 on a Windows 10 host running on a system comprising AMD R7 3700X CPU, AMD RX 5700 GPU, and with 32 GB of RAM.

My problem is that whenever I try to boot up an operating system install ISO in my virtual machines, the virtual machine freezes as soon as it boots into the ISO. When I try any operation on the virtual machine, such as by shutting it down or rebooting it via the menu, the machine's window freezes with the "not responding" message in the title bar.

Here is an example screenshot of a test virtual machine at the stage where it freezes (it's booting a Fedora GNU/Linux ISO):
Screenshot of VM when it freezes.
Screenshot of VM when it freezes.
ISO-boot-hangs-here.png (4.91 KiB) Viewed 13222 times
I've tried creating other VMs and booting different operating system install ISOs, such as Red Hat Enterprise Linux 8.1 or Windows 10, and they freeze in comparable ways. I've attached all the logs I can find with the zip file attached to this message.

Please excuse my ignorance as I am quite inexperienced, sorry if I'm missing something obvious, but can anyone advise on how to troubleshoot this problem? Thank you.

Re: VMs freeze when booting into ISOs on Win 10 VB 6.1 host

Posted: 1. Jan 2020, 01:16
by scottgus1
Your log contains these lines:
{timestamp} HM: HMR3Init: Attempting fall back to NEM: AMD-V is not available
{timestamp} NEM: WHvCapabilityCodeHypervisorPresent is TRUE, so this might work...

You might notice in the guest window's Status Bar the green turtle: Image The choice of animal is appropriate: Your guest is running, just really slow. This is because a service that uses Microsoft Hyper-V is running on your host PC. Normally Hyper-V blocks Virtualbox. But your PC is of the type and OS where Virtualbox can attempt to run the guest using the Hyper-V engine. This arrangement is still being developed and isn't 100% yet.

If VirtualBox is running without Hyper-V enabled, and nothing else is interfering with hardware virtualization (VT-x / AMD-V), then the usual virtualization icon (Image) will be seen in the Status Bar.

To turn Hyper-V off completely, do this:

1. Shut down all programs. You will have to reboot your host.

2. Find the Command Prompt icon, right click it and choose Run As Administrator.

3. Enter this command:
bcdedit /set hypervisorlaunchtype off
4. Enter this command:
shutdown -s -t 2
5. When the computer turns off, unplug it for 20 seconds. Then plug it in again and boot up Windows 10.

Your Virtualbox should be running now. If the green turtle still appears and the tell-tale lines are in the log, try all the steps again. If you don't get the standard virtualization icon, post back exactly what you did and we'll try to help some more.

For further info, see I have a 64bit host, but can't install 64bit guests and https://www.tenforums.com/tutorials/139 ... puter.html

Re: VMs freeze when booting into ISOs on Win 10 VB 6.1 host

Posted: 1. Jan 2020, 17:57
by avamk
That worked!

I ran your command, and also followed your linked article's instructions to remove Hyper-V components from Windows' optional program and features thing. There was a BSOD during the process, but my VM seems to be runnin now.

Thank you @scottgus1!

Re: [SOLVED] VMs freeze when booting into ISOs on Win 10 VB 6.1 host

Posted: 25. Apr 2021, 13:38
by david0313
I just came here to express my immense gratitude to @scottgus1

I was having a similar problem, any VM that I tried to open would freeze on the start-up. It was driving me crazy because I wasn't having that problem with my school computer, however, I couldn't do anything at home.
Then I noticed that I had the little turtle, I did all the steps and it started working.

Anyways, thank you for your support!