Running Linux on Windows
You can easily run Linux on Windows using the Windows Subsystem for Linux (WSL).
Since 2019 Microsoft delivered WSL 2, that offers a nice Linux experience on Windows 11, without the need to install an emulator like VirtualBox.
- You do not need to partition your hard disk
- Very easy to install and upgrade
- Extremely fast (95% relative to native Linux performance)
- No other software necessary:
- No emulator or virtual machine required
- Available as a simple option on Windows 11
- You can run X Window applications without an X Window emulator like Exceed
- Uses all 12 cores instead of only 6 cores in VirtualBox
- Seamless integration with Windows
- Access to all Windows file systems (most of them are compatible with Linux)
- Windows 11
- administrator PowerShell for the initial installation
- user mode sessions can be run with the normal PowerShell
- 64-bit processor
- Activate hardware virtualisation in the BIOS
- Up-to-date video driver for WSL
Extremely easy: start an administrator PowerShell, then:
wsl -l wsl --install
Now you can test if X Window is working:
It is using parts (9P protocol) of the Plan 9 OS (from Bell Labs).
Linux filesystem requirements
Some specific Linux functionality require a native Linux filesystem, and fails with the 9P protocol. Examples: the Pywikibot user password file (must be protected by the 600 access mask).
- Run Linux GUI apps on the Windows Subsystem for Linux
- How to run GUI apps with Windows Subsystem for Linux
- Admin Magazine 72 p 40, Windows Subsysem for Linux and Android in Windows 11