AOSC OS on WSL (Windows Subsystem for Linux)
- Enable WSL. (https://aka.ms/wslinstall).
- Grab a WSAOSC binary from releases.
- Grab AOSC OS kernel-less tarball. (https://aosc.io/os-download, we recommend the "Container" variant).
- Decompress .tar.xz to get .tar file. (Using 7-Zip or xz command).
- Rename .tar file to
install.tar.gz
and move it to aosc-os.exe path. - Run aosc-os.exe. AOSC OS will install in the same path.
Open WSAOSC.sln
in Visual Studio and compile.
or
Open VS command line tools, cd to WSAOSC directory and run: msbuild WSAOSC.sln /p:Configuration=Release
(change Release
to Debug
if you need debug version.)
Install mingw-w64, cd to WSAOSC directory and run: x86_64-w64-mingw32-gcc main.c -lole32 -O3
- I/O performance is not ideal. Disabling Windows Defender and Windows Indexing Service for the rootfs directory may mitigate this issue.
GNU General Public License V3