WSL2 is good, but not usable in all scenarios. IIRC, it can't use systemd services. It is also very slow with file I/O, which is not a problem with small datasets, but some of the git repos I work with are so big that git operations take a couple of minutes to complete in WSL2, but only take a second or so in PowerShell. If you are doing a full backup of your PC with rsync or something like that, it could take days to complete something that would take only 30 minutes or so running in a native Windows shell.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Wish I could say that was an improvement.
It depends on where the files are located. If they are within your WSL distro, then speed is similar to a Linux VM. If you need to do large operations on Windows files from WSL, WSLv1 is a better option.
If I have to use Windows then WSL is fine, otherwise I'd always use Linux.
As far as privacy is concerned, if it's running on Windows then WSL is not going to help.
I'd suggest that good middle ground would be installing Linux and running Windows in a VM.
It's the best thing windows offers, besides maybe full virtualisation. I use it daily at work, but sharing files is annoying. I'd like to just access the files of the windows system, documents dir should be the windows docs and so on. It somewhat works with symlinks, but it still sucks. Git is slow with these linked dirs too, can't create Fifos, fileperms suck, and so on.
Thank you very much i think im going to just go with the tried and true dual boot and slowly move to debian.
Good luck. If everything goes well you won't have to start windows again.
Windows has complete access to the WSL file system, so there’s zero privacy improvement. If you’re concerned with privacy, take a look at Arch Linux or Gentoo to install only the components you want, or if you are looking for extreme privacy, check out Tails or possibly QubesOS. Those are probably not the place to start learning about Linux but you mentioned privacy. Ubuntu, Fedora, etc. all have telemetry and crap built in so if you want privacy/anonymity you should look at other systems like the ones I mentioned. Have fun, good luck.
Thank you for the reply, that is also news to me about Ubuntu. Since im so used to debian based distros, I think i may just look into just using plain vanilla debian.
Even Debian has it, but at least they seem very transparent about it.
Even Debian?! Ugh..
I'll also add to this that WSL is a security nightmare. If something manages to dig its way into your wsl install and add, for example, WINE, there's no end to the (hidden to your av) mischief it can enact.
Much rather dual boot or use a VM.
Personally, I think booting into a linux distro through a USB drive might be more what you're looking for, but for trying specific applications WSL is great.
I don't see how it would improve privacy at all. WSL is just for running Linux shell on Windows right? Your entire OS stack is still Microsoft's proprietary software.
W/o a fully functional systemd (or equivalent) implementation, there's no dbus session; w/o dbus, GUI apps can't work reliably.
As to various server processes -- windows can kill them at will, if it decides that they're idling.
Peerhaps some cli tools work reliably on wsl2; but then again it's got very slow i/o for extensive use.
I think a fully fledged vm on Hyper-V is a better bet by far.
WSL is good if you need Linux/GNU tools. file
, grep
, find
, and the occasional CMake compile are my typical use cases.
I wouldn't consider it anything more than a tool. Try installing Linux in a VM or old computer if you want to try switching.
Between using wsl to run apps and using windows, I think there's little benefit when talking about privacy. Most open source apps have windows version so you can start your migration without formatting, getting used to the ecosystem and when you change, you won't miss anything.
ok so far I gather that its a no lol
WSL is not Linux. Has none of the advatanges of Linux. Fuck windows
Well, that's just not true. WSL indeed is not Linux, but it does have several of the advantages of Linux.
It is not good if you want a home desktop solution, because that's not what it's there for. However, if you need to use Windows for something, e.g., at work to have full outlook MS office compatibility (access through the web is not great) but need Linux for dev work then WSL is great.
In short, I'd say WSL is there if you want to do dev work on Linux, but everything else on Windows.
WSL2 bricked every single one of my VMs, took me a full work day just trying to revert back to WSL1. Might not even matter now since my boot nvme might have just died from heat yesterday.
Can you elaborate on this?
Originally had WSL1 installed, upon upgrade to WSL2 all my VMs for VirtualBox and VMWare Workstation would no longer boot even after reverting to WSL1. I had to entirely reinitialize my VMs which took days of work.
I'm curious how the move to WSL2 caused your VMs to shit the bed.
Windows stole his wife.
It takes a strong person to admit they got warnings about the importance of backups and still just said “this is fine”