MoCoLinux 0.4.0
·
51 commits
to mocolinux
since this release
Windows 10 support
MoCoLinux now runs on Windows XP x64, 7, 8.1 and 10 — all verified on hardware with hardware-accelerated OpenGL.
What's new since 0.3.0
- Windows 10 support. Two world-switch fixes for KVA Shadow (KPTI):
- CR4 before CR3 at the crossing. PCIDE controls whether CR3 bits 11:0 are a PCID. The guest clears PCIDE; writing the host's PCID-encoded CR3 with PCIDE still off raises #GP in the passage page → triple fault → instant machine freeze. Fixed by loading CR4 (with PGE cleared) before CR3.
- TSC_AUX saved and restored per crossing. Windows 10 stores the logical processor number in MSR 0xC0000103 for RDTSCP. The guest's
cpu_init()overwrites it, and PatchGuard verifies it hasn't changed — bugcheck 0x109 (CRITICAL_STRUCTURE_CORRUPTION, arg4=0x7, arg3=0xC0000103) minutes after boot. Saved into the existingtemp_cr3slot to avoid growing the shared state struct.
Requirements for Windows 10
- Test signing must be on (
bcdedit /set testsigning on— the installer does this) - No hypervisor (Hyper-V / VBS / HVCI must be off)
- The installer handles all checks and refuses to continue if conditions aren't met
Install
Download the zip, extract, and run mocolinux-setup.exe as Administrator. It installs the driver, daemons, kernel, GPU daemon with virglrenderer, X server, seed image and launchers, then boots Linux and builds a Manjaro desktop over the network (~15 min).
Contents
19 files including root-arch.img (the seed image), COPYING (GPL v2), the VcXsrv installer, and all launchers. Everything needed to go from a double-click to a running Manjaro desktop.
