Re:WSL2 corrupting Git repositories and shell history
by Railsify on Saturday January 02, 2021 @05:28PM
(#25617185)
Agreed, I can't use virtualbox and WSL2 at the same time, epic fail.
[ Parent
| on HN ]
Re:WSL2 corrupting Git repositories and shell history
by shoo_pl on Saturday January 02, 2021 @06:16PM
(#25617580)
That is no longer true since VirtualBox 6 (or VMware Workstation 15.5), both of which can work alongside WSL2.
Re:WSL2 corrupting Git repositories and shell history
by sk5t on Saturday January 02, 2021 @09:55PM
(#25618922)
I tried the hyper v VirtualBox option and consider it a waste of several hours. The graphics support in that mode is abysmal.
Re:WSL2 corrupting Git repositories and shell history
by heavyset_go on Saturday January 02, 2021 @05:38PM
(#25617275)
Can you expound on this? Windows doesn't let you use VirtualBox and WSL2 at the same time?
Re:WSL2 corrupting Git repositories and shell history
by strombofulous on Saturday January 02, 2021 @05:52PM
(#25617392)
WSL2 uses hyper-v. You can only run either hyper-v or ESXi (VB's hypervisor) at the same time.
Re:WSL2 corrupting Git repositories and shell history
by shoo_pl on Saturday January 02, 2021 @06:10PM
(#25617528)
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.
Re:WSL2 corrupting Git repositories and shell history
by Railsify on Sunday January 03, 2021 @12:21PM
(#25623144)
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.
Re:WSL2 corrupting Git repositories and shell history
by hyperdimension on Saturday January 02, 2021 @06:06PM
(#25617487)
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.)