this post was submitted on 25 Dec 2023
340 points (94.3% liked)

linuxmemes

20625 readers
1409 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] spacesweedkid27@lemmy.world 3 points 8 months ago (1 children)

How does the wsl load the OS btw?

[–] fl42v@lemmy.ml 8 points 8 months ago (1 children)

Wsl2? It's a VM. As for wsl1... Not sure, mb smth wine-ish.

[–] nekusoul@lemmy.nekusoul.de 12 points 8 months ago* (last edited 8 months ago)

The way WSL1 worked is actually quite interesting: The NT kernel always had the capability to run multiple subsystems, with Win32 only being one of them and there were subsystems available for OS/2, POSIX and later UNIX. WSL1 was pretty much a revival of that feature. So WSL1 is indeed somewhat like Wine, but making heavy use of some features built into the kernel. So yeah, no real boot process happening.

(Also it's kinda stupid that the 'S' in WSL2 still stands for 'subsystem', despite not using that feature anymore.)