Skip to content

Instantly share code, notes, and snippets.

View hdhnl's full-sized avatar

Konstantinos N. Nikas hdhnl

View GitHub Profile
hdhnl / gist:d448cae9bd4ab14642fec88f4425cbb9
Last active September 23, 2021 09:27
#Install Obarun linux [1] on windows subsystem for linux.
#Obarun linux is an Arch linux based system without systemd.
#After installing wsl2 on windows10 or windows11 [2] and docker on Ubuntu [3] (from microsoft store),
#you type next commands against Ubuntu terminal prompt [4]
docker pull obarun/base
docker create --name obarun obarun/base
docker export -o obarun.tar obarun
#On WindowsPowershell
#wsl --import "<distro>" "<location for your wsl distro>" "PATH/TO/<distro>.tar" --version 2
wsl --import "obarun" "C:\Users\<yourusername>\WSL\obarun" "C:\Users\<yourusername>\obarun.tar" --version 2