https://github.com/nevuly/wsl2-linux-kernel-rolling
Rolling Release Stable Kernel for Windows Subsystem for Linux2 (WSL2)
https://github.com/nevuly/wsl2-linux-kernel-rolling
linux-kernel rolling-release stable-kernel stable-rolling wsl2 wsl2-kernel
Last synced: 2 days ago
JSON representation
Rolling Release Stable Kernel for Windows Subsystem for Linux2 (WSL2)
- Host: GitHub
- URL: https://github.com/nevuly/wsl2-linux-kernel-rolling
- Owner: Nevuly
- Created: 2022-09-14T09:49:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2026-02-16T00:00:07.000Z (6 days ago)
- Last Synced: 2026-02-16T07:40:30.088Z (6 days ago)
- Topics: linux-kernel, rolling-release, stable-kernel, stable-rolling, wsl2, wsl2-kernel
- Homepage: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/wiki
- Size: 2.51 GB
- Stars: 251
- Watchers: 6
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rolling Release Stable Kernel for WSL2
[](https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/actions/workflows/trigger.yml)
[](https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/releases/latest)
Maintainer: Yang Jeong Hun (Nevuly)
## Introduction
The [WSL2-Linux-Kernel-Rolling][wsl2-kernel-rolling] repo contains the latest stable kernel source code and
configuration files for the [WSL2][about-wsl2].
This kernel is automatically built via [Github Actions][gh-actions] CI whenever a [newer stable kernel is released][kernel-stable].
## Install Instructions
Please see this [wiki][wiki].
## Reporting Bugs
If you discover an issue relating to WSL or the WSL2 kernel, please report it on
the [Issues tab][issue].
## Feature Requests
If you want to fix a bug or add new features, Please use the [Pull Request][pr].
## Build Instructions
Instructions for building WSL2 kernel with an Arch Linux distribution are
as follows:
1. Install the build dependencies (Arch Linux):
`$ sudo pacman -S aarch64-linux-gnu-gcc bc bison curl flex gcc git pahole python unzip wget zip`
2. Build the kernel using the WSL2 kernel configuration (x86):
`$ make KCONFIG_CONFIG=arch/x86/configs/config-wsl-x86`
3. Build the kernel using the WSL2 kernel configuration (arm64):
`$ export ARCH=arm64 && export CROSS_COMPILE=aarch64-linux-gnu-`
`$ make KCONFIG_CONFIG=arch/arm64/configs/config-wsl-arm64`
4. Save the module to a separate folder (Optional. Only for local build):
`$ sudo make modules_install`
## Credits
* The Linux community who created a awesome kernel.
* Microsoft which produced WSL2 and dxgkrnl patches.
[wsl2-kernel-rolling]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling
[about-wsl2]: https://docs.microsoft.com/en-us/windows/wsl/about#what-is-wsl-2
[gh-actions]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/actions
[kernel-stable]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[wiki]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/wiki/Install-Instructions
[issue]: https://github.com/Nevuly/WSL2-Rolling-Kernel-Issue/issues
[pr]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/pulls