Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agreed, I can't use virtualbox and WSL2 at the same time, epic fail.


That is no longer true since VirtualBox 6 (or VMware Workstation 15.5), both of which can work alongside WSL2.


I tried the hyper v VirtualBox option and consider it a waste of several hours. The graphics support in that mode is abysmal.


Can you expound on this? Windows doesn't let you use VirtualBox and WSL2 at the same time?


WSL2 uses hyper-v. You can only run either hyper-v or ESXi (VB's hypervisor) at the same time.


That's not longer true.

Yes, WSL2 is type-1 hypervisor (which means Linux under WSL2 and windows are both VMs of sort, managed by higher level invisible "main" OS) and initially this made running VMs inside windows impossible (since technically that would be VM inside VM). But this has been fixed for months now - originally not only it was not possible to run virtualbox (or vmware, ESXi is vmware type-1 btw, dont mistake it with free vbox) but also it was not possible to run docker either.

Edit: btw. this is why it took so long for WSL2 to be released to public; they gave time to most of the VM solutions to adapt to the fact windows would be running under type-1 hypervisor.


The virtualbox VM launches but it is too slow to be usable, kind of like a car that only goes 5 mph. So slow in fact that virtualbox shows the little turtle icon on the status bar.


ESXi is VMware's 'bare-metal' hypervisor. I'm not sure what VirtualBox uses, but I doubt it's ESXi, unless Oracle wants lawsuits (oh, wait...nevermind; they love them.)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: