wsl-distrod
WSL2-Linux-Kernel
Our great sponsors
wsl-distrod | WSL2-Linux-Kernel | |
---|---|---|
27 | 54 | |
1,815 | 7,522 | |
- | 2.0% | |
0.0 | 10.0 | |
about 1 year ago | about 1 month ago | |
Rust | C | |
MIT License | 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.
wsl-distrod
-
Arch in WSL
Systemd works even in the non-store Windows 10 using https://github.com/nullpo-head/wsl-distrod
-
Should I be creating a WSL "install" for each project?
In case you're using an older version of WSL that doesn't support systemd, you can give Distrod a try.
-
Losing everything due to WSL corruption?
It uses snapd (so in turn, systemd) so maybe that's what you missed. Up until the WSL update that brought systemd support I've been using distrod to have systemd in my WSL2 distros so it went all smoothly for me.
-
wsl-archlinux-manager: An efficient & easy strategy to install and manage Arch Linux instances on WSL.
I use distrod to get a wsl instance of Arch running. It's nice to have (some) systemd functionality with it ;)
-
I finally got arch linux working on windows 11(WSL2) By using docker.
You don't need Docker Desktop to install Linux distros as your WSL2 systems. For Arch there's https://github.com/yuk7/ArchWSL and if you want systemd too then use this one instead https://github.com/nullpo-head/wsl-distrod/ (not specific to just Arch). Also any OCI compliant rootfs tarball goes really, you can use Docker or Podman to export images as tarballs & import them as WSL distros and vice versa. Just telling in case all you want is a distro and not a container engine like Docker running.
-
How to install robo3t on Ubuntu WSL, Windows 11
You can install the snap version if you have snap running (duh) so, I recommend you to either add systemd to your Ubuntu or make a new Ubuntu installation, both with this one: https://github.com/nullpo-head/wsl-distrod/.
-
Cannot install WSL UBUNTU 22 in windows 10
Not sure on the specifics for why it won’t install for you, but I’d recommend trying a tool called distrod regardless. You can get Ubuntu Jammy with it and it makes the distro support systemd.
-
WSL2 with no network connectivity
Install the resolvconf package and write the nameserver etc lines into /etc/resolvconf/resolv.conf.d/base file instead (or depending on your needs, use systemd by using a tool like Distrod and edit /etc/systemd/resolved.conf instead).
-
Install minikube with podman and CRI-O on wsl2 / Windows 11
I used Distrod tool to install WSL that has extra features like systemd, auto-start and port forwarding ability.
-
Now you can even replace systemd with Emacs
https://github.com/nullpo-head/wsl-distrod I use this at work with Gentoo and it's worked fine.
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
What are some alternatives?
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
genie - A quick way into a systemd "bottle" for WSL
scrcpy - Display and control your Android device
easyWSL - Create WSL distros based on Docker Images.
azurelinux - Linux OS for Azure 1P services and edge appliances
ArchWSL - ArchLinux based WSL Distribution. Supports multiple install.
arch_linux_wsl2 - Installation instructions for Arch Linux in WSL2
vimspector - vimspector - A multi-language debugging system for Vim
move-wsl - Easily move your WSL distros VHDX file to a new location.
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).