HON’s Wiki # Windows

Home / Personal Devieces

Contents

Using

Installation

Setup

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. 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.
  3. Enable automatic kernel upgrades:
    1. Go to “Windows updates”, “advanced options” and enable “Receive updates for other Microsoft products when you update Windows”.
  4. 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