Unoffical XanMod port with dxgkrnl patched for WSL2, compiled by clang with ThinLTO enabled.
This repo holds an automated GitHub Action workflow to build and release WSL kernel images. It checks if newer upstream version is available everyday, and trigger the build&release process accordingly.
- Download kernel image from releases.
- Place it to somewhere appropriate. (e.g.
D:\.WSL\bzImage
) - Save the
.wslconfig
in current user's home directory with following content:
[wsl2]
kernel = the\\path\\to\\bzImage
; e.g.
; kernel = D:\\.WSL\\bzImage
;
; Note that all `\` should be escaped with `\\`.
- Reboot your WSL2 to check your new kernel and enjoy!
For more information about
.wslconfig
, see microsoft's official documentation.
- The Linux community for the awesome OS kernel.
- Microsoft for WSL2 and dxgkrnl patches.
- XanMod project for various optimizations.