Windows 10 2004 + WSL 2 enabled breaks VBox?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
tazxsk
Posts: 4
Joined: 24. Apr 2020, 13:41

Windows 10 2004 + WSL 2 enabled breaks VBox?

Post by tazxsk »

Hi guys

I use latest 6.1.6 vbox and upgraded to latest Win 10 preview 2004 and followed
wsl2 install page
which did:

Code: Select all

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
and after that (second command it seems, but it might be the upgrade as well) my LUbuntu VM is not working as it was and there are frequent crashes, etc.
I tried booting and installing a new LUbuntu box again with weird errors and failures that I never seen before.

So I am wondering if 2004 is tested with VBox or if I am missing some fixes that are not released yet

tia for any pointer
Lubos
tazxsk
Posts: 4
Joined: 24. Apr 2020, 13:41

Re: Windows 10 2004 + WSL 2 enabled breaks VBox?

Post by tazxsk »

wsl2 install page needs to be googled, since this board doesn't allow me to post urls
(my account migration didn't seem to go well)
towo2099
Volunteer
Posts: 364
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Android, Linux

Re: Windows 10 2004 + WSL 2 enabled breaks VBox?

Post by towo2099 »

WSL2 is using Hyper-V, since WSL does not. So read the corresponding threads about Hyper-V and VBox.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Windows 10 2004 + WSL 2 enabled breaks VBox?

Post by scottgus1 »

Here is a tutorial that encapsulates what towo2099 is talking about: I have a 64bit host, but can't install 64bit guests
posts 2 and 3 cover the Hyper-V issue. Hyper-V blocks Virtualbox for now, and anything that uses Hyper-V, like WSL2, will block Virtualbox..
facboy
Posts: 28
Joined: 19. Jan 2016, 09:35

Re: Windows 10 2004 + WSL 2 enabled breaks VBox?

Post by facboy »

if you're interested i posted about WSL2 in another thread: viewtopic.php?p=474522#p474522

TLDR; it's not worth the hassle.
tazxsk
Posts: 4
Joined: 24. Apr 2020, 13:41

Re: Windows 10 2004 + WSL 2 enabled breaks VBox?

Post by tazxsk »

interesting
so disable dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

and never look back?

can Virtualbox and hyper-v coexist nicely?
@klaus do you guys plan to fix it?

tia
Lubos
facboy
Posts: 28
Joined: 19. Jan 2016, 09:35

Re: Windows 10 2004 + WSL 2 enabled breaks VBox?

Post by facboy »

There's a long thread pinned at the top of this forum: viewtopic.php?f=6&t=90853

For now, no, hyper-v does not play nicely with any other virtualization platform. VMWare are supposed to have something in the works and Oracle are also working on it for Virtualbox. AFAIK there's no ETA.
Post Reply