microsoft / WSL-DistroLauncher

Sample/reference launcher app for WSL distro Microsoft Store packages.
MIT License
1.68k stars 519 forks source link

How can I tell my distro what kernel to use? #68

Open greyltc opened 4 years ago

greyltc commented 4 years ago

I've compiled my own kernel based on https://github.com/microsoft/WSL2-Linux-Kernel

Biswa96 commented 4 years ago

If you have Windows 10 insider Build 18945 or above then add the kernel entry in %UserProfile%\.wslconfig file. See this link for more information https://docs.microsoft.com/en-us/windows/wsl/release-notes#build-18945. Or if you have lower than Build 18945, then you can place the new Linux kernel here %SystemRoot%\System32\lxss\tools\kernel.

greyltc commented 4 years ago

I'll give that a try. Thank you!