https://github.com/hiegz/wsl2
Custom WSL2 kernel with zfs, dm_crypt, and usb mass storage enabled.
https://github.com/hiegz/wsl2
dmcrypt linux usb windows wsl zfs
Last synced: about 2 months ago
JSON representation
Custom WSL2 kernel with zfs, dm_crypt, and usb mass storage enabled.
- Host: GitHub
- URL: https://github.com/hiegz/wsl2
- Owner: hiegz
- Created: 2025-06-19T13:37:34.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-19T19:55:12.000Z (12 months ago)
- Last Synced: 2025-06-19T20:49:39.655Z (12 months ago)
- Topics: dmcrypt, linux, usb, windows, wsl, zfs
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WSL2
Custom WSL2 kernel with zfs, dm_crypt, and usb mass storage enabled.
### Requirements
- Arch Linux
- WSL2
- `x86_64` architecture
### Build & Installation
In your WSL, run the following commands:
```
1. git clone https://github.com/hiegz/wsl2
2. cd wsl2
3. make
4. cp arch/x86_64/boot/bzImage /mnt/c/Users//bzImage
```
Stop the WSL2 instance if it is currently running:
```
wsl --shutdown
```
Include the following in the `.wslconfig` file in your Windows user's $HOME
directory:
```
[wsl2]
kernel=C:\\Users\\hiegz\\wsl\\bzImage
localhostForwarding=true
swap=0
```
If the file doesn't exists, just create it.