2 votes
Accepted

Recover WSL files using Linux Live USB?

If you are using WSL2 (assumed, since you should find the WSL1 files on the drive with that search), then the entire filesystem for your WSL distribution is in a virtual SDD. As @blami mentioned in ...
NotTheDr01ds's user avatar
  • 17.9k
2 votes
Accepted

Why is WSL taking up more disk space than it says it is?

WSL2 works like a virtual machine; the guest OS doesn't directly store individual files in your host filesystem – it has a dedicated virtual "disk" that is stored in a single large .vhdx ...
u1686_grawity's user avatar
1 vote
Accepted

How to copy a file from my WSL directory to a machine I can only SSH to from windows

It seems there should be a simple way to do it Well, not quite - There are quite a few challenges there, like: Obviously, the fact that WSL2 uses a different IP which won't be accepted by the remote ...
NotTheDr01ds's user avatar
  • 17.9k
1 vote
Accepted

Install WSL dist on physical drive

WSL not in a vhdx file is a contradiction. WSL is Hyper-V and the vhdx is a virtual machine. You can install the Linux distribution on an external disk, but that only means that the vhdx will reside ...
harrymc's user avatar
  • 458k
1 vote

Why would wsl use the wrong distro from the command line on occasion?

I think I tracked it down. For whatever reason if I pasted this series of commands into a powershell prompt I could repeatably get the issue to occur: wsl --unregister pedro wsl --shutdown sleep 5 ...
mikedoy's user avatar
  • 21
1 vote

Update Windows "host" File With WSL IP On Start Up

With Windows 11 and current wsl2, I found that mDNS seems to work fine, and you won't need to script your hosts file. My WSL2 distro is ubuntu 22.04. You can use mDNS to advertise your wsl hosts' ...
rriv's user avatar
  • 11
1 vote

How to change the WSL bash sound / console host sound

Go to Control Panel > Change System Sounds. In the Sounds tab of the Sound dialog select the Critical Stop tree item in the Program Events section. Drop down the Sounds selection box and select ...
Stacey Richards's user avatar
1 vote

How to enable systemd on WSL2: Ubuntu 20 and CentOS 8

Now wsl takes care of systemd natively: see here
pietrodito's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible