Skip to content

WSL2 Gentoo Installation Guide

Windows Subsystem for Linux is a feature of Windows that allows developers to run a Linux environment without the need for a separate virtual machine or dual booting.

There are two versions of WSL: WSL 1 and WSL 2

Install Gentoo (stage3) in WSL2

Enable-WindowsOptionalFeature -NoRestart -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -NoRestart -Online -FeatureName VirtualMachinePlatform
wsl --set-default-version 2
wsl --import gentoo C:\Users\salfter\gentoo\ C:\Users\salfter\Downloads\stage3-amd64-nomultilib-20200624T214505Z.tar --version 2