WSL2-Linux-Kernel
genie
Our great sponsors
WSL2-Linux-Kernel | genie | |
---|---|---|
54 | 13 | |
7,522 | 1,853 | |
2.0% | -0.1% | |
10.0 | 0.0 | |
about 1 month ago | over 1 year ago | |
C | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WSL2-Linux-Kernel
-
GPL or Apache license for an upcoming PySide2 project?
By the way, Microsoft publishes the WSL kernel source, under GPL, as they must: https://github.com/microsoft/WSL2-Linux-Kernel
-
LFS from WSL2 on Win10
From here on out it gets a bit hazy. For kernel builds you will have to use the Microsoft Linux Kernel (don't laugh, it's actually a thing). The USBIPD project walks through a WSL kernel build, so you can use that as a guide of sorts. Once you've done everything you need with the disk, the Gentoo project shows how to import it, but if you already have the VHDX file, I think the import-in-place option may be simpler. Take care in CH2 when making the filesystem. I'm not sure if WSL want's only one ext4 partition or if it walks the disk looking for root. There may be some .wslconfig settings for this, my first guess would be kernelCommandLine.
-
Windows Subsystem for Linux 2.0 release
This was true for WSL1, but WSL2 does contain a Linux kernel. The source code for it is available at:
https://github.com/microsoft/WSL2-Linux-Kernel
- WSL2-Linux-Kernel: Source for the Linux Kernel Used in WSL2
- Instructions for using kernel 6.3.y on WSL2 (you probably shouldn't do this)
-
Mount aes-adiantum LUKS drive on a kernel without adiantum support
git clone --branch mytag0.1 --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel use tag for your version
-
Is it possible to manually replace WSL kernel by custom one?
But if you need a custom kernel then build it by taking Microsoft's kernel config as your base and then set the following up accordingly in your %USERPROFILE%\.wslconfig file:
-
WSL - Microsoft Linux
It uses a customized version of the Linux kernel (repo) that integrates with the host Windows OS. You can build any distro on top of that kernel, as people have done with (of course) Arch. The distro isn't any less "real" than a distro that it run on QEMU (and with a level 1 hypervisor, all systems that uses one are technically virtualized already).
-
Gentoo on WSL? Sure!
I recompiled the kernel using sources from https://github.com/microsoft/WSL2-Linux-Kernel with experimental genpatches applied.
-
ZFS raw (passthrough) on WSL: what do you think of my plan?
KERNVER=$(uname -r | cut -f 1 -d'-') git clone --branch linux-msft-$KERNVER --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel.git ~/kern-$KERNVER zcat /proc/config.gz > ~/kern-$KERNVER/.config make -C ~/kern-$KERNVER -j 4 make -C ~/kern-$KERNVER -j 4 modules_install ln -s /lib/modules/$KERNVER-microsoft-standard-WSL2+ /lib/modules/$KERNVER-microsoft-standard-WSL2
genie
-
Setting up Kubernetes on WSL 2
FYI for systemd under WSL2 on Windows 10 you'll want https://github.com/arkane-systems/genie
-
Docker command is not working on WSL2 while Docker Desktop is closed
You can install docker in your Ubuntu WSL instance. If you want to run it automatically you can look at something like genie to provide some systemd support, combine with a startup task to launch it.
- Export WSL2 image to bootable USB for Dual-Boot system
-
genie 2.0 - call for beta testers
updated readme now available at https://github.com/arkane-systems/genie/tree/dev-2.0
-
WSL2 can now mount Linux ext4 disks directly
I used to run systemd in WSL through https://github.com/arkane-systems/genie and it worked pretty well. Not sure about modules but I found compiling my own kernel with some more features (ext4 encryption support) pretty easy.
(That being said, I'm _extremely_ happy to run Linux natively now and no longer run any Windows)
- Genie – A quick way into a systemd “bottle” for WSL
-
Docker desktop (Windows) alternatives?
What if you use https://github.com/arkane-systems/genie?
-
Can't open GUI apps from wsl
I am running https://github.com/arkane-systems/genie and it solved me this problem
- Just a question about snap
- genie/WSLg: If you use genie and are having WSLg problems, a fix is inbound shortly and here's the details/workaround
What are some alternatives?
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
WSL - Issues found on WSL
scrcpy - Display and control your Android device
wsl-distrod - Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
azurelinux - Linux OS for Azure 1P services and edge appliances
wsl-vpnkit - Provides network connectivity to WSL 2 when blocked by VPN
nerdctl - contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
vimspector - vimspector - A multi-language debugging system for Vim
garden - Automation for Kubernetes development and testing. Spin up production-like environments for development, testing, and CI on demand. Use the same configuration and workflows at every step of the process. Speed up your builds and test runs via shared result caching
winget-cli - WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
rd - Container Management and Kubernetes on the Desktop