Mantene Posted April 28, 2020 Share Posted April 28, 2020 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? Quote Link to comment
GorOps Posted April 28, 2020 Share Posted April 28, 2020 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 Quote Link to comment
Mantene Posted April 28, 2020 Author Share Posted April 28, 2020 Running Fast Ring on this VM so 19613. As for optional components: Quote Link to comment
Mantene Posted April 28, 2020 Author Share Posted April 28, 2020 wsl1 works. The better wsl2 does not. Quote Link to comment
Mantene Posted April 30, 2020 Author Share Posted April 30, 2020 Does anyone have WSL2 working with an AMD processor? Quote Link to comment
Mantene Posted May 5, 2020 Author Share Posted May 5, 2020 So I am guessing no one can help. Okay. I will keep playing around. Quote Link to comment
status Posted May 27, 2020 Share Posted May 27, 2020 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. Quote Link to comment
saskwatch Posted July 31, 2020 Share Posted July 31, 2020 Did anybody make progress on getting this to work? Quote Link to comment
Mantene Posted August 2, 2020 Author Share Posted August 2, 2020 Nothing from me. I keep hoping some unraid update will fix this. Quote Link to comment
Unraid Newbie Posted August 5, 2020 Share Posted August 5, 2020 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 Quote Link to comment
Mantene Posted August 6, 2020 Author Share Posted August 6, 2020 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. Quote Link to comment
erkko Posted October 28, 2020 Share Posted October 28, 2020 I don't suppose anyone has made any progress on this? Trying my luck with an Intel CPU, and it's the same story. Quote Link to comment
BiopticOps Posted November 10, 2020 Share Posted November 10, 2020 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 1 Quote Link to comment
berta123 Posted November 1, 2021 Share Posted November 1, 2021 The above script didn’t work for me. Has anyone found a solution? 6.9.2 Quote Link to comment
Recommended Posts
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.