Yesterday, Microsoft released their update to the WSL kernel taking it to 5.10.16, and thus and so today I release the parallel version of my WSL kernel - with everything snapd needs1 plus all the other goodness mentioned here - for your pleasure.
Here’s the config gist, as is traditional. The kernel itself is now available from the usual WSL Transdebian repo for buster, bullseye, bookworm and sid, as packages:
linux-image-5.10.16.3-20210417-1-microsoft-custom-wsl2+
linux-headers-5.10.16.3-20210417-1-microsoft-custom-wsl2+
linux-libc-dev
Enjoy!
(Don’t forget that you need to copy it somewhere in Windows and set that up in .wslconfig as well as installing the packages in your distro!)
Strict confinement not included. I am done mucking about with those patches - apparmor 3 or bust!
I get Access Denied when I try to start up wsl.exe, when I point it to the windows folder locations.. any idea how to fix this? When I comment out the kernel line it loads up the old kernel just fine.
kernel=C:\\WINDOWS\\system32\\lxss\\wsl2custom
I moved it to User folder too same error
kernel=C:\Users\localuser
fyi i did dpkg to install all the packages and i see those files in /boot but the kernel is just not set with wsl