Skip to content
xyb edited this page May 16, 2020 · 1 revision

How to use this customized kernel?

  1. Make sure you are using WSL2. Instruction: http://aka.ms/wsl2

  2. Download latest kernel from: https://github.com/xieyubo/WSL2-Linux-Kernel/releases/download/wsl-xyb-port-5.6.y-latest/kernel

  3. Create/edit WSL2 configure file: %userprofile%\.wslconfig, add the following content:

     [wsl2]
     kernel=d:\\downloaded\\kernel
    
  4. Shutdown WSL service in a cmd window:

     wsl --shutdown
    

Related Issues

  1. VS code can't work well? See https://www.xyb.name/2020/05/16/make-vs-code-work-well-under-wsl2-with-customized-kernel/
Clone this wiki locally