Running Ubuntu 20.04 on Windows 11

Discussions related to using VirtualBox on Windows hosts.
Post Reply
AntonEvertsson
Posts: 3
Joined: 24. Jan 2022, 16:30

Running Ubuntu 20.04 on Windows 11

Post 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
Attachments
Ubuntu-hardening-20.04-2022-01-24-15-20-41.zip
(61.11 KiB) Downloaded 33 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Running Ubuntu 20.04 on Windows 11

Post 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.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Running Ubuntu 20.04 on Windows 11

Post 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.
AntonEvertsson
Posts: 3
Joined: 24. Jan 2022, 16:30

Re: Running Ubuntu 20.04 on Windows 11

Post 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!
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Running Ubuntu 20.04 on Windows 11

Post by mpack »

Don't ignore the vCPU over-committment problem.
AntonEvertsson
Posts: 3
Joined: 24. Jan 2022, 16:30

Re: Running Ubuntu 20.04 on Windows 11

Post by AntonEvertsson »

Thank you, i will definitely change that as well.
Post Reply