Page 1 of 1

Windows 10 2004 + WSL 2 enabled breaks VBox?

Posted: 24. Apr 2020, 13:46
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

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

Posted: 24. Apr 2020, 13:48
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)

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

Posted: 24. Apr 2020, 14:23
by towo2099
WSL2 is using Hyper-V, since WSL does not. So read the corresponding threads about Hyper-V and VBox.

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

Posted: 24. Apr 2020, 15:30
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..

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

Posted: 24. Apr 2020, 16:37
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.

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

Posted: 25. Apr 2020, 07:08
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

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

Posted: 25. Apr 2020, 12:08
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.