This seems complicated. You can download a copy of of Windows 10 in ISO format via this link:<p><a href="https://www.microsoft.com/en-us/software-download/windows10ISO" rel="nofollow">https://www.microsoft.com/en-us/software-download/windows10I...</a><p>(You need to be using a non-Windows PC otherwise that link will redirect to the Windows Media Creation Tool[1])<p>Then just install it into a new VM in VirtualBox. It won't activate, and it will nag you about this, but it will still stay fully usable, you just wont be able to change small things like the colour scheme. Which is perfectly fine if it's a crash-and-burn VM for testing.<p>---<p>[1] Or just change your browser user-agent to report linux.
The same could be achieved using QEMU/KVM by adding the physical disk path (/dev/disk/by-id/<drive ID here>) as a storage device using whatever method you fancy.<p>I have used this technique quite a bit and it is very handy in dual/multi boot systems where I need to run the second OS while using my main OS. Or install one to an external drive and use it elsewhere later on.
A similar technic also exists to use Windows in VirtualBox on MacOS. <a href="http://danielphil.github.io/windows/virtualbox/osx/2015/08/25/virtualbox-boot-camp.html" rel="nofollow">http://danielphil.github.io/windows/virtualbox/osx/2015/08/2...</a>
I did this many years ago with a dual boot computer and Windows (7 iirc) kept complaining about needing to be reactivated when I’d switch between running natively and virtualized. Has that been fixed on Windows 10?
I once did something similar on a Linux & Windows dual-boot where the Linux partition was bootable both as bare-metal <i>and</i> under Windows in VirtualBox.