Set of scripts for bootstrapping Arch Linux on WSL2.
This code is published in good faith and for learning purpose only. The code is not fully tested, so any usage of it is strictly at your own risk 🙈.
- download distro from: yuk7/ArchWSL2
- unzip it to dir
C:\arch2
- rename
Arch2.exe
to thearch2.exe
- run program
C:\arch2\arch2.exe
- open shell again initialize keyring for pacman:
pacman-key --init
pacman-key --populate
- update system:
pacman -Syu
-
run QALACS script; see here.
-
setup default user for Arch WSL2 distro
in PowerShell:
PS C:\arch2> .\arch2.exe config --default-user <username>
To continue download and install qdots.
- add PS1 script for setup WSL on clean W10 machine; turn on WSL feature; install WSL2 kernel and so on...