I need to run VirtualBox 6.1, Docker, and WSL for my projects. Yes, I can turn off HyperV and WSL, restart, use VirtualBox, turn them on, restart, use Docker & WSL1, but this is so tedious. According to VirtualBox support of HyperV starts from 6.x versions, and I followed every step of this blog on transforming my Kali Linux VM to Hyper-V. However I still got this error:
Failed to get device handle and/or partition ID for 0000000001be10e0 (hPartitionDevice=0000000000000ba5, Last=0xc0000002/1) (VERR_NEM_VM_CREATE_FAILED).
Result Code:
E_FAIL (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
How to solve this?
Virtual Machine Platform
which is compatible with VirtualBox. The compatibility issue you are running into is Docker Desktop and VirtualBox. Hyper-V support is experimental, and while you can have Hyper-V and install VirtualBox, you will see a huge performance hit by doing so. My suggestion is to use WSL2 and VirtualBox and uninstall Hyper-V and only install Virtual Machine Platform`. However, most users, cannot get it working likely due to their hardware