My custom linux kernel for WSL2 compatability.
- Fixed memory allocation see: https://lore.kernel.org/kvm/[email protected]/
- Applied config from Microsoft
- Upgrade kernel to 5.9 (probably skipped until stable rc 5.10)
This is simple guit how to install my kernel
Open CMD.exe
$ wsl --shutdown
Direct link to download last kernel - 5.8 kernel
Move kernel file "vmlinux58"
to C:\Users\<YourUser>\
C:\Users\<YourUser>\.wslconfig
[wsl2]
kernel=C:\\Users\\<YourUser>\\vmlinux58
cmd.exe
wsl -d Ubuntu
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
In order to build the documentation, use make htmldocs
or
make pdfdocs
. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.