The setup was done on a recent version of Windows 10 with Windows Subsystem for Linux Version 2 (WSL2).
First, install WSL 2, e.g., following this tutorial
- Note that the whole thing appears to be a bit convoluted, you start out with
wsl.exe --install
- Then you can install latest LTS Ubuntu 22.04 with the Microsoft Store
- Once complete, you probably end up with a WSL 1 (one!) that you can conver to version 2 (two!) with
wsl --set-version Ubuntu-22.04 2
or similar. - WSL2 has some advantages including running a full Linux kernel but is even slower in I/O to the NTFS Windows mount.
- Everything that you do will be inside the WSL image.