Skip to main content

How to Upgrade from WSL to WSL2 on Windows 10

On Windows 10, it is possible to upgrade the Windows Subsystem for Linux platform to version 2, this included the already installed Distributions, and in this article are the steps required to convert to WSL2. The Windows Subsystem for Linux 2 (WSL2) is an updated version of the implementation that uses a very light virtual machine instead of a direct translation between both operating systems, allowing for noticeable improvements in performance and complete call compatibility support.

In this article are the steps to upgrade WSL to WSL2 and convert Linux distros to version 2 on Windows 10. 


  1.  Download this WSL2 kernel update (required
  2.  Install the downloaded file 
  3.  Open Start.
  4. Run PowerShell in Administrative Option 
  5. Type the following command to set Windows Subsystem for Linux 2 your default architecture for new distros you’ll install and press Enter:
    wsl --set-default-version 2

     


  6.  Type the following command to get a list of all the distros installed on your device and press Enter:
    wsl -l -v
  7. Type the following command to convert the distro from WSL 1 to WSL 2 and press Enter:
    wsl --set-version DISTRO-NAME 2
    In the command, make sure to replace DISTRO-NAME for the actual name of the Linux distribution.
  8. Type the following command to verify the version of the distro and press Enter:
    wsl -l -v

    1. Confirm the distros are set to version 2.

       All done  

    Once you complete the steps, you may need to repeat steps 7 through 10 to convert the remaining distros to version 2.

     

Comments

Popular posts from this blog

How to Play a Sound After a Terminal Command Completes

  Sometimes, while working on the terminal, especially during long-running processes, it’s useful to have an audible notification when the task is finished. In this guide, we’ll show you how to make your terminal play a sound after any command completes, ensuring you're alerted without constantly checking the terminal. Why Do This? This trick can save time and improve workflow, especially when: You’re running lengthy build processes or installations. You’re waiting for large file transfers. You're programming embedded systems and need confirmation when flashing is done. Let’s dive into how to do this on a Linux system. Step-by-Step Guide to Playing a Sound After a Command 1. Using paplay or aplay to Play Sounds On most Linux distributions, you can use paplay or aplay to play sound files directly from the terminal. Here's how you can append a sound notification after a command. Basic Command Structure : PC:~$ your_command && paplay /path/to/soundfile.oga  Or, if...

Building a Robot Actuator with ESP32 and a 5010 BLDC Motor

Introduction Modern robotics demands actuators that aren’t just strong, but also smart — capable of precise control, smooth motion, and safe human interaction. Traditional servos are great for small robots, but they can be stiff, noisy, and limited in range or torque. This project demonstrates a custom robot actuator built around a 5010 360 KV brushless DC (BLDC) motor , controlled by an ESP32 running the SimpleFOC library. The goal is to create a compliant joint — one that can be moved by hand, but automatically returns to its home position with adaptive stiffness. 🧠 What Makes This Actuator Special Unlike a typical servo, this actuator behaves intelligently : You can turn it by hand — it feels soft and back-drivable. When you release it, the motor returns to its initial position smoothly. If you twist it harder (e.g., due to gear reduction), it becomes stiffer , resisting displacement more strongly. It’s powered by 12 V and controlled by a simple ESP32 boar...

Heating with Electric Radiators

You want to heat your small garage using a couple of electric radiators. The power and voltage requirements for each radiator are 1200 W, 240 V. But you are not sure how to wire the radiators to the power supplied to the garage. Should you use the wiring diagram on the left or the one on the right? Does it make any difference?