Page 1 of 1

Running Ubuntu 20.04 on Windows 11

Posted: 24. Jan 2022, 16:39
by AntonEvertsson
Hi all,
I saw that windows 11 is not listed as a supported Host OS.
I still wanted to see if it is possible to run it.
I previously had oracle VM installed on my windows 10 host and have since upgraded to windows 11. When stating my ubuntu virtual machine it boots and gets to the login screen. However after typing credentials it freezes on a black screen before sending a promt about and error having occured and sends me back to the login screen. I have added some logs in case that helps analyzing the issue.

Can anyone tell me if it is possible to fix this or if i need to revert back to windows 10?


Best Regards
Anton

Re: Running Ubuntu 20.04 on Windows 11

Posted: 24. Jan 2022, 16:45
by scottgus1
Hardening log exit code is 0, so no hardening troubles.

Video RAM might need to be higher. Max it out.

Hyper-V is enabled on the host. See HMR3Init: Attempting fall back to NEM (Hyper-V is active). If the video RAM increase does not help, try disabling Hyper-V.

Re: Running Ubuntu 20.04 on Windows 11

Posted: 24. Jan 2022, 17:04
by mpack
Windows 11 is working fine for me, though I'm using VirtualBox 6.1.32 and I have Hyper-v disabled on the host. Like you I updated a Win10 host to Win11.

You might want to check how much disk space you have available on the partition when you installed the VM: a black screen in Ubuntu can be a sign of disk space problems.

And I would cut the vCPU allocation to 2 cores. Starving the host of CPU will not lead to better performance of VirtualBox, a host app. And you need to max out the graphics RAM as Scott said. In fact this is more likely to be the cause of the dead graphics.

Re: Running Ubuntu 20.04 on Windows 11

Posted: 24. Jan 2022, 18:12
by AntonEvertsson
Thank you for the replies!
Disabling the Hyper-v fixed my problems(probably in combination with the video memory). Everything now seems to work as intended!

Re: Running Ubuntu 20.04 on Windows 11

Posted: 24. Jan 2022, 19:08
by mpack
Don't ignore the vCPU over-committment problem.

Re: Running Ubuntu 20.04 on Windows 11

Posted: 24. Jan 2022, 20:41
by AntonEvertsson
Thank you, i will definitely change that as well.