Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

OnyxAzryn/wsl-kernel-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

WSL Kernel Updater

This shell script will update a WSL Instance to use the latest kernel release provided from https://github.com/nathanchance/WSL2-Linux-Kernel.

In order to use this script, you must do the following:

  • Create a folder to hold version information and the kernel image (For example, I have mine in C:\Users\Username\Linux)
  • Create the .wslconfig file in your Windows home directory (C:\Users\Username\.wslconfig)
  • Add the following to the .wslconfig:
[wsl2]
kernel=<Path to your folder from above>\\bzImage
  • Edit the script to reflect the path from above in the $PACKAGE_DIR variable
  • Run the script from within WSL and enjoy

About

A simple script to update a WSL kernel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages