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 ...
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 ...
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 ...
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 ...
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
...
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' ...
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 ...
1
vote
How to enable systemd on WSL2: Ubuntu 20 and CentOS 8
Now wsl takes care of systemd natively: see here
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
windows-subsystem-for-linux × 1581windows-10 × 425
ubuntu × 351
wsl2 × 290
linux × 280
windows × 253
bash × 233
ssh × 98
networking × 86
command-line × 69
windows-11 × 56
powershell × 53
docker × 53
windows-10-v1607 × 52
terminal × 44
mount × 37
cmd.exe × 29
hyper-v × 27
windows-terminal × 27
permissions × 22
visual-studio-code × 22
git × 21
kali-linux × 21
docker-for-windows × 21
virtual-machine × 20