Originally posted by Quackdoc
View Post
Announcement
Collapse
No announcement yet.
Microsoft Promotes Windows Subsystem For Linux "WSL" To GA Status
Collapse
X
-
Originally posted by Artim View Post
Thank god it still does. I actually don't get how people can like WSL2. It an enormous ressource hog (obviously as it is a VM and not just a backwards WINE) compared to WSL1 and vital capabilities are missing.
Afaik you still can't connect to the internet from within WSL2 when there's a VPN running on Windows (a problem existing since day 1 and still existing to this day for all I know),
and while you can't access external drive's block device layer from WSL1, at least you can access them on a file level pretty easily. For all I know on WSL2 you still need to compile a custom Kernel with USB-over-IP for WSL and then a Windows program serving as the server (which means you'll have to use Visual Studio in some capacity, at least last time I checked there was no way to cross compile). And all that trouble just to access a thumb drive, which is a base feature of any modern VM software?
Comment
-
Originally posted by kozman View Post
It does make me wonder what the long game is with WSL. If this is a crawl, walk, run, fly strategy then I suppose WSL1.0 was crawl, and WSL2.0 is walk. What's the userbase saying about it and is it simply a toy that lets those in Windows-land play but with no serious look towards production-level use. As a Windows guy who's played with everything from BeOS, QNX, BSDs, Plan9 and walks around with a Parted Magic bootable USB in his pocket, WSL simply confounds me. My perception of it is simply Microsoft selling it as "Hey, Windows can also do this thing." But I just don't see the utility of it when you can bare metal and get get full on perf rather than this off brand environment. Maybe I don't know enough about it to even judge it but it certainly doesn't seem to make much news that I come across. Gonna have to wait until WSL3.0?
Comment
-
Originally posted by Quackdoc View PostNever had this issue, and I daily run wireguard, so maybe it already has been fixed? but it's not something I ran into in the first place.
this was actually somewhat recently fixed for storage devices using wsl --mount. though its still needed for other usb devices, storage is fine now
- Likes 1
Comment
-
Originally posted by Linuxxx View PostIn the end, Microsoft's embrace mentality always turns out to be a winning strategy for them, unfortunately...- At first, this will bring the Linux infrastructure to a new userbase. This also means that they will generate money out of it (they as in the FOSS projects).
- After that, this will also bring developers new tooling and to be fair, right now it's easier to set up WSL to develop new things then to set up a windows development environment. So go figure.
- Last, but not least it can in no way replace bare metal Linux. People switch to Linux because of 3 things: Win control over data, save up on money for things like license costs, ease development/maintenance workloads. None of them will be solves by WSL.
Comment
-
Originally posted by kozman View Post
It does make me wonder what the long game is with WSL. If this is a crawl, walk, run, fly strategy then I suppose WSL1.0 was crawl, and WSL2.0 is walk. What's the userbase saying about it and is it simply a toy that lets those in Windows-land play but with no serious look towards production-level use. As a Windows guy who's played with everything from BeOS, QNX, BSDs, Plan9 and walks around with a Parted Magic bootable USB in his pocket, WSL simply confounds me. My perception of it is simply Microsoft selling it as "Hey, Windows can also do this thing." But I just don't see the utility of it when you can bare metal and get get full on perf rather than this off brand environment. Maybe I don't know enough about it to even judge it but it certainly doesn't seem to make much news that I come across. Gonna have to wait until WSL3.0?
Comment
-
Originally posted by torsionbar28 View PostCorrect on all counts, but can you blame them? The corporate desktop is cornerstone of the Microsoft empire. All other Microsoft products are tied to it - MS Office, Exchange, Active Directory, Sharepoint, etc. They'll defend their corporate peecee marketshare like their existence depends on it, because it does.
Originally posted by skeevy420 View Post
My primary usage is accessing Linux file systems and disks on Windows so I can have the file system benefits of Linux and the gaming benefits of Windows at the same time. There's the elephant in the room of DirectStorage, but, all things considered, copy/pasting games to the right drive isn't a big deal.
I don't care much about the file system, it it is invisible to me, ext4 and NTFS both work the same for me, and I don't really notice any difference.
Originally posted by Danny3 View PostI still find it garbage compared to the real deal and will continue to recommend people Linux!
Comment
-
Originally posted by Artim View Post
I would be very surprised if it was impossible. Sure, it currently looks like nobody has done it. But it doesn't look like it's impossible, just like nobody is interested enough. After all, you'd need to port all modifications MS made from 5.15 all the way to 6.x. While that probably isn't impossible, it will most likely be quite a lot of work.
* /boot directory is empty
* /usr/lib/modules too
* no GRUB
* etc ...
I wonder how someone can install and boot on an other Linux kernel. On a screenfetch / uname, you find a beautiful MS fingerprint meaning that the kernel is dependant of NT WSL software ... There're too much things missing, it's a not VM anymore.
At worst, it could be possible to compile a Linux kernel (kernel headers availability), but it can't be installed and booted.Last edited by TNZfr; 23 November 2022, 08:24 AM.
Comment
-
Originally posted by TNZfr View Post
I had a look inside a WSL Ubuntu « VM »
* /boot directory is empty
* /usr/lib/modules too
* no GRUB
* etc ...
I wonder how someone can install and boot on an other Linux kernel. On a screenfetch / uname, you find a beautiful MS fingerprint meaning that the kernel is dependant of NT WSL software ... There're too much things missing, it's a VM anymore.
At worst, it could be possible to compile a Linux kernel (kernel headers availability), but it can't be installed and booted.
Of course it will rely on NT stuff as that's much more efficient than translating everything. They also added their own OpenGL over DirectX implementation for Mesa to be able to pass graphics through to Windows for GPU acceleration. But that's not the definition of a VM.
Comment
-
Originally posted by TNZfr View Post
I had a look inside a WSL Ubuntu « VM »
* /boot directory is empty
* /usr/lib/modules too
* no GRUB
* etc ...
I wonder how someone can install and boot on an other Linux kernel. On a screenfetch / uname, you find a beautiful MS fingerprint meaning that the kernel is dependant of NT WSL software ... There're too much things missing, it's a VM anymore.
At worst, it could be possible to compile a Linux kernel (kernel headers availability), but it can't be installed and booted.
The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2) - microsoft/WSL2-Linux-Kernel
Second off, with a simple search, here is instructions on compiling USB-IP into the Microsoft kernel.
Updated 19.11.2021: Add note on runnins usbipd from WSL Updated 08.11.2021: Add metntion usbipd-win [https://github.com/dorssel/usbipd-win ] Updated 28.10.2021: The most recent kernel 5.10.60.1 has enabled USB-IP support, but only a few drivers for USB devices are enabled, so
Third, Win11's Android is based off the same thing WSL2 underpinnings, which is why there are custom android distros you can install to get the full Google Play store. I think they are using custom kernels in some cases, but I could be wrong on that.
- Likes 2
Comment
Comment