Page 1 of 1

A critical error has occurred while running the virtual machine

Posted: 4. Oct 2020, 14:16
by Nwer
Hello,
Thanks for taking some of your precious time checking my case :D

I have configured a windows server 2019 machine on my VBOX and I have an error when launching it.
Virtualization is enabled on my BIOs.
I have attached all requested log in a .zip file

Error :

VirtualBox - Guru Meditation

A critical error has occurred while running the virtual machine and machine
execution has been stopped.

[...]

Press OK if you want to power off the machine of press Ignore if you want
to leave it as for debugging. Please note that debugging requires special
knowledge and tools, so it is recommended to press OK no

Re: A critical error has occurred while running the virtual machine

Posted: 4. Oct 2020, 15:56
by scottgus1
Only two things I see:
Windows 2019 likely uses Hyper-V paravirtualization, and your guest is set to None. Paravirtualizaton is just a communication channel, and does not enable or disable Windows's Hyper-V. Set paravirtualization back to Hyper-V.

Your host has 4 processor cores, you only have 1 in the guest, and Server 2019, being 10 on server steroids, probably would like 2 cores.

Re: A critical error has occurred while running the virtual machine

Posted: 4. Oct 2020, 17:14
by Nwer
Thanks for your help

I applied what you recommended

and it still gives the same error

My One drive link for logs is in the txt file as i'm not allowed to post links , being a member here for less than one day

Re: A critical error has occurred while running the virtual machine

Posted: 4. Oct 2020, 18:15
by fth0
scottgus1 wrote:Windows 2019 likely uses Hyper-V paravirtualization, and your guest is set to None.
There maybe is a bug in VirtualBox, which I didn't bother to report on the Bugtracker (for being ignored there in the past :():

If you create a VM with Basic > Version set to Windows 2019 (64-bit), and System > Acceleration > Paravirtualization Interface set to Default, the VM is running with the Provider None. This also applies to Windows 2016 (64-bit).

Re: A critical error has occurred while running the virtual machine

Posted: 5. Oct 2020, 00:03
by scottgus1
fth0 wrote:the VM is running with the Provider None
Sho nuff, looks like a bug to me!

Nwer, please post logs like you did at the beginning.

Re: A critical error has occurred while running the virtual machine

Posted: 5. Oct 2020, 10:52
by Nwer
Ok so here is the update,

I tried on configuring a windows 10 machine and it works fine.
I made the changes you asked for (Paravirtualization to Hyper-V and processors cores to 2
and it's the same error

logs : first part file
-------------------------
After this I tried another turning Hyper-V off executing these on CMD :

bcdedit /set hypervisorlaunchtype off

shutdown -s -t 2

I set Paravirtualization to Default
logs : second part

Re: A critical error has occurred while running the virtual machine

Posted: 5. Oct 2020, 14:27
by fth0
After reading 550 MB from the ISO file, some software in the guest tries to break into a debugger (INT 3). I don't have an immediate idea what to investigate further.

Re: A critical error has occurred while running the virtual machine

Posted: 5. Oct 2020, 20:57
by Nwer
You are not gonna believe it.
I just went in settings and changed from Windows 2019 to 2016 and it mounted !

No explanation here

Re: A critical error has occurred while running the virtual machine

Posted: 13. Sep 2021, 16:37
by anass
That's actually weird. I've tried the same thing by changing to Windows Server 2016, and now it is mounted.
Thank you!

Re: A critical error has occurred while running the virtual machine

Posted: 13. Sep 2021, 16:43
by scottgus1
For some time, the 2019 template had a bug in it, and the workaround was to set to the 2016 template and set Paravirtualization to Hyper-V.

This should not be necessary anymore, starting around Virtualbox 6.1.26-ish.

Anyone running 6.1.26 or later and still needs to set a 2019 VM to the 2016 template to get the 2019 OS to boot, please start a new topic with an attached vbox.log.