Try   HackMD

Install Windows Subsystem Android (WSA) on Proxmox VE

Specs

Tested on 2023/1/6

VM Host

  • AMD Ryzen 9 3900X
  • 64GB RAM

Guest

  • Windows 11
  • RAM: minimum 8GB

PVE Host settings

  1. Enable Nested Virtualization

PVE Guest settings

/etc/pve/qemu-server/<VM-ID>.conf

:warning: Warning: The following args are for AMD CPU only

args: -cpu host,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vpindex,hv_runtime,hv_crash,hv_time,hv_synic,hv_stimer,hv_tlbflush,hv_ipi,hv_reset,hv_frequencies,hv_reenlightenment,hv_stimer_direct,hv-no-nonarch-coresharing=auto

Steps

  1. Install Windows 11 (installed with TPM, CPU, RAM & SecureBoot Bypass)

  2. Enable Hyper-V, Windows Hypervisor Platform and Virtual Machine Platform in Windows Features

  3. Clone and build MagiskOnWSALocal

    :warning: Warning: You may not able to install WSA directly from Microsoft Store

  4. Unzip and run Run.bat

  5. Enjoy

Debug

  • Try create & run a Hyper-V VM
  • Try install & run WSL2

If you can run Hyper-V and WSL2, then you should be able to run WSA too.

References

WSL2 安裝錯誤 0x800701bc 與 GUI 整合初體驗

Fix: WSLRegisterDistribution Failed with Error 0x8007019e