The project WSL-For-FreeBSD develops the edition of the WSL2 (Windows Subsystem for Linux), which allows you to run FreeBSD on Windows instead of Linux with minimal changes to the FreeBSD base environment. Whenever possible, changes are planned to be transferred to the main part of the open WSL2 codebase. The project is positioned as personal and experimental.
At the current stage, FreeBSD can already be loaded into WSL2 in console mode. FreeBSD core components start successfully. Work is currently focused on adding networking support, I/O optimization, and process management. Plans for the future include the integration of FreeBSD utilities with the Windows environment and the preparation of documentation.
The WSL2 project developed by Microsoft provides a virtual machine with a full-fledged Linux kernel, which can run Linux distributions. The kernel includes WSL-specific changes, such as optimizations to reduce startup time and memory consumption, the ability for Windows to reclaim memory freed by Linux processes, and settings to eliminate unnecessary drivers and subsystems. The system is installed in a separate disk image (VHD) with an ext4 file system and a virtual network adapter.