WSL2-Linux-Kernel

The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2) (by microsoft)

WSL2-Linux-Kernel Alternatives

Similar projects and alternatives to WSL2-Linux-Kernel

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better WSL2-Linux-Kernel alternative or higher similarity.

WSL2-Linux-Kernel reviews and mentions

Posts with mentions or reviews of WSL2-Linux-Kernel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.
  • GPL or Apache license for an upcoming PySide2 project?
    2 projects | /r/Python | 9 Dec 2023
    By the way, Microsoft publishes the WSL kernel source, under GPL, as they must: https://github.com/microsoft/WSL2-Linux-Kernel
  • Windows Subsystem for Linux 2.0 release
    5 projects | news.ycombinator.com | 18 Sep 2023
    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

  • Is it possible to manually replace WSL kernel by custom one?
    4 projects | /r/bashonubuntuonwindows | 3 May 2023
    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:
    4 projects | /r/bashonubuntuonwindows | 3 May 2023
    # Specify a custom Linux kernel to use with your installed distros. The default kernel used can be found at https://github.com/microsoft/WSL2-Linux-Kernel kernel=C:\\temp\\myCustomKernel # Sets additional kernel parameters, in this case enabling older Linux base images such as Centos 6 kernelCommandLine = vsyscall=emulate
  • WSL - Microsoft Linux
    6 projects | /r/linuxmemes | 4 Apr 2023
    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!
    3 projects | /r/Gentoo | 17 Feb 2023
    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?
    4 projects | /r/zfs | 25 Jan 2023
    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
  • Kernel source code for WSA and GPLv2 disclosure question.
    4 projects | /r/linux | 5 Jan 2023
    Unlike WSA, the kernel for WSL2 is updated frequently on github. There is a page for WSA, but it's mainly just for bug reports and discussion.
  • Tell HN: The ThinkPad X1 Carbon is an excellent MacBook replacement
    3 projects | news.ycombinator.com | 4 Dec 2022
    WSL2 is for the most part totally usable for everyday development, but it does have a handful of issues that either need workarounds or are just infeasible.

    USB passthrough isn't yet supported, so it's necessary to make use of something like VirtualHere[1] or some another TCPIP tunneling daemon running on the windows depending on what you're trying to do.

    There seems to sometimes be issues with resuming from S0ix sleep where the VM process is still "running" but it gets stuck in a state where new processes just will not spawn. It's been a while since I messed with it, but my "solution" was disabling a VM security measure, launching Process Hacker 2 as admin, searching for "lxss" in the process list and terminating the corresponding svchost.

    The actual linux kernel running inside WSL2 is interesting, it's microsofts own custom kernel[2] with some magic sauce for making everything play nice. Unfortunately, it (still?) lacks a fully-functional SystemD so making some programs work can be a chore. Also all the kernel modules compiled in, and it doesn't allow loading them dynamically with modprobe. There are some alternative kernels out there that solve some of these issues, though I haven't bothered to try any since whenever I run into these sorts of issues it's less of a hassle to just switch to a dedicated linux box.

    For all of the issues that come with Windows 11, having WSLg make running graphical programs "just work" out of the box with rock-solid copy/paste, alt+tab, etc., really makes it a joy to work with.

    [1] - https://www.virtualhere.com/

    [2] - https://github.com/microsoft/WSL2-Linux-Kernel

  • Is the WSA source code public?
    7 projects | /r/WSA | 1 Dec 2022
    I hope they'll share the new source with the WSA Android 13 release and https://github.com/microsoft/WSA-Linux-Kernel would be a good address for it (like it is for https://github.com/microsoft/WSL2-Linux-Kernel).
  • A note from our sponsor - SaaSHub
    www.saashub.com | 28 Mar 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic WSL2-Linux-Kernel repo stats
54
7,451
10.0
15 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com