HON’s Wiki # Windows

Home / Personal Devieces

Contents

Installation

Setup

Setup (Windows 10)

Possibly outdated.

Make Windows more Streaming/Presentation Friendly (Windows 10)

Windows Subsystem for Linux (WSL)

Setup

More info: Windows Subsystem for Linux Installation Guide for Windows 10 (Microsoft Docs)

  1. Prerequisites:
    • Intel VT-x or AMD SVM must be enabled in the BIOS settings. Check that the “Virtualization” field in the Task Manager CPU page says “Enabled” afterwards.
    • Hyper-V is not required.
  2. Allow using VirtualBox and WSL on the same PC:
    1. Disable hypervisor launch (admin terminal): bcdedit /set hypervisorlaunchtype off
    2. Disable “Hyper-V” and “Windows Sandbox” in the Windows Features.
    3. TODO: Disable “Windows Hypervisor Platform” too for VirtualBox hardware virtualization mode to work? Breaks WSL?
  3. Install (Ubuntu, the default):
    1. Open the Windows command prompt or PowerShell in admin mode.
    2. Start installer: wsl --install
    3. Reboot (if and when requested).
    4. Wait for the terminal window to open and the installation to finish.
    5. Enter your new Linux username and password.
  4. Enable automatic kernel upgrades:
    1. Go to “Windows updates”, “advanced options” and enable “Receive updates for other Microsoft products when you update Windows”.
  5. Install a distro like Ubuntu from the Microsoft Store app.
    1. Make sure it’s using WSL 2, see usage.

Usage

Docker Desktop

NVIDIA CUDA

Troubleshooting

Time in containers is wrong when using WSL backend:

Restart WSL every time it happens. It’s a known bug still not fixed.


hon.one | HON95/wiki | Edit page