WSL 2 Boot Lifecycle: From wsl.exe to the Utility VM and Distribution init
What starts when the first Linux process launches in WSL 2, which configuration is read at each stage, and why a distro can fail before the shell even appears.
tag
5 posts
What starts when the first Linux process launches in WSL 2, which configuration is read at each stage, and why a distro can fail before the shell even appears.
How FreeBSD orders rc.d scripts, separates dependency order from enablement, and provides safe, testable service lifecycle hooks.
WSL distros ran without systemd for years, breaking software expecting PID 1 init. Here is why that gap existed and how it was architecturally closed.
Understand systemd unit loading, dependency and ordering graphs, service readiness, activation, credentials, sandboxing and forensic debugging.
How launchd unified boot-time initialization, service supervision, and scheduled tasks into a single declarative system on macOS.