April 28, 20206 yr I have a Windows 10 VM and would like to get WSL2 working on it, but nothing I try seems to work. I have an AMD Ryzen 3900X. I added kvm_amd.nested=1 to my syslinux.cfg file. I run spaceinvaderone's script to turn on nested vms, and I still get an error when I try to set up WSL2 on my Windows 10 VM. Anyone have any real luck with this? Is there something that needs to be added to unraid by the devs? Any help would be much appreciated. This is what I see when I try to install Ubuntu as the WSL2 distro: Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370102 Error: 0x80370102 The virtual machine could not be started because a required feature is not installed. Press any key to continue... Maybe I missed a step somewhere?
April 28, 20206 yr What version of Windows? WSL 2 is only available in Windows 10 builds 18917 or higher. What about the optional components? https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
May 27, 20206 yr Now that Windows 2004 is out I'm going to be playing around with this as well. Thus far all my attempts (on a previous version of Windows) to get HyperV working on Windows (with Unraid 6.8.3 host) have failed. WSL2 is based on HyperV, so I don't have much hope that I'll actually get this working at the moment.
August 5, 20205 yr i think we have the same problem. i am trying to run android emulator and hyper v i am running the latest 20180 build, which suppose to fix amd nested or something. https://techcommunity.microsoft.com/t5/virtualization/amd-nested-virtualization-support/ba-p/1434841
August 6, 20205 yr Author On 8/5/2020 at 7:42 AM, Unraid Newbie said: i think we have the same problem. i am trying to run android emulator and hyper v i am running the latest 20180 build, which suppose to fix amd nested or something. https://techcommunity.microsoft.com/t5/virtualization/amd-nested-virtualization-support/ba-p/1434841 I think the @limetech people need to fix this. The new build of Windows 10 still does not allow AMD procs to use Hyper V.
October 28, 20205 yr I don't suppose anyone has made any progress on this? Trying my luck with an Intel CPU, and it's the same story.
November 10, 20205 yr I have been working on trying to get this for work for a while to get Docker to work. Yesterday it just finally worked for me. I am using `6.9.0-beta30` and a slightly modified script where I pulled out the intel parts instead of having an if statement. Shut down all your VMs and run the script below. I also have `Hyper-V` enabled. I am using a 1800x so it may be 1st v 3rd gen Ryzen, but this is the first time it has worked for me. #!/bin/bash modprobe -r kvm_amd modprobe kvm_amd nested=1 echo "Nested vms are enabled for AMD cpus" sleep 10 exit
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.