Skip to content

GoreKernel with GoreCode and GoreCommits for GoreWSL2

License

Notifications You must be signed in to change notification settings

nedokaka/WSL2-Linux-Kernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The WSL2-Linux-Kernel repo contains the kernel gore source code and configuration files for the WSL2 kernel.

Reporting Bugs

no.

Build Instructions

Instructions for building an x86_64 WSL2 kernel with an Ubuntu distribution are as follows:

  1. Install the build dependencies:
    $ sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev bc libncurses-dev
  2. Build the kernel using the WSL2 kernel configuration:
    $ make KCONFIG_CONFIG=Microsoft/config-wsl

Install Instructions

Instol wsl2 update

Shutdown wsl

wsl --shutdown

Push arch/x86/boot/bzImage to C:\Windows\System32\lxss\tools with file name kernel

copy arch/x86/boot/bzImage anywhere you want (except wsl) and create a .wslconfig in %UserProfile% (Windows user home folder) and put it into a file

[wsl2]
kernel=C:\\path\\to\\kernel

the path should be spelled with \\

Run your favorite gore wsl distro

About

GoreKernel with GoreCode and GoreCommits for GoreWSL2

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.3%
  • Assembly 0.7%
  • Shell 0.4%
  • Makefile 0.2%
  • Python 0.2%
  • Perl 0.1%
  • Other 0.1%