ericsysmin's DevOps Blog

Converting WSL 1 Operating Systems to WSL 2 on Windows

First step, you will need Windows 10 build 18917 or higher to be able to use WSL 2. Please note, you will need to have the Powershell Administrator window up. If you are converting WSL 1 to WSL 2 I’d assume you have Linux Subsystem for Windows installed. If not, the following command will install it for you.

Once you do that you will need to run

Now you should be able to run, substitute <Distro> with your specific distribution. You can get a list by using the command: wsl --list --verbose .

For setting all future distributions to use WSL 2, you will need to use the following command:

Now the last step is to verify your changes worked:

 

Continue reading...

Been a while…

Sorry everyone, I’ve been gone for a while. I’ve been super busy at this company Avi Networks. I’ve been here for 2 years, and it’s been growing fast. However, I’m back in the DevOps/SRE realm of things, which will allow me to once again share some of my insights on the world of automation, containers, scripting, and other cool workarounds to get things working the way you want.

I’m probably going to make a few changes in the next few weeks to this blog to get it running again, and move the commenting system over to something that I won’t have to manage and prevent spam. I’ve manually had to approve a lot of comments, and that doesn’t scale, obviously. lol

Continue reading...