Skip to content

WSL2 breaks VirtualBox 6.1 #798

Description

https://docs.microsoft.com/en-us/windows/wsl/wsl2-faq#will-i-be-able-to-run-wsl-2-and-other-3rd-party-virtualization-tools-such-as-vmware-or-virtualbox says:

This lets applications use the Hyper-V architecture for their emulation such as the Google Android Emulator, and VirtualBox 6 and above which are both now compatible with Hyper-V.

Unfortunately, it's not true. Running Windows 10 version 2004 and VirtualBox 6.1, enabling WSL2 causes Ubuntu/VB to boot to a blank rectangular screen with rapidly blinking cursor. This happens despite the VM being configured to use HyperV and with HyperV enabled in Windows Features.

Worse yet, the only way I could manage to get VB working again was to restore to before installation of WSL2 and reinstall ("Repair") VirtualBox.

This is a duplicate of #536, but that issue is closed and I see no way to reopen it.

See also https://stackoverflow.com/questions/62184881/virtualbox-and-wsl2 and https://superuser.com/questions/1531337/cant-run-virtualbox-6-1-4-with-hyper-v

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions