Based on all my searching, this really seems like I'm following the right steps, but my distro is just not updating to WSL2. I'm running W10 build 19042.1526, which should be compatible with WSL2.
The best instructions I could find are from here, they appear to match all the other guides I could find, this site just seemed the most concise. Steps attempted described in code block below:
# using elevated powershell
# install WSL
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
enable virtual machine platform
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
restart W10
Download latest Linux kernel updat package and install
set WSL 2 as my default version
wsl --set-default-version 2
inspect installed distros and versions
wsl -l -v
set existing wsl1 distro to wsl2
wsl --set-version Debian 2
All these commands seems to run Ok, I'm not getting any bad output when running the commands, yet I can see from wsl -l -v that my Debian distro still isn't updating to WSL2. Anyone have any idea why?
Also, say I wanted to try uninstalling WSL1 and clean installing WSL2, would I lose all my Debian distro files? What's the best way of ensuring I don't have to completely re-configure my Debian distro if I go the uninstall/re-install route?
Output of wsl --status:
Default Distribution: Debian
Default Version: 2
Windows Subsystem for Linux was last updated on 11/16/2021
WSL automatic updates are on.
Kernel version: 5.10.60.1