Skip to content

Installer: add pinned Aurora Windows deployment - #2

Closed
DjDeveloperr wants to merge 11 commits into
mainfrom
feature/aurora-windows-installer
Closed

DjDeveloperr wants to merge 11 commits into
mainfrom
feature/aurora-windows-installer

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • merge current Asahi installer v0.9.0 and modern macOS restore packaging support
  • replace Linux-oriented choices with Aurora proxy, proxy plus reserved Windows space, and staged Windows deployment options
  • offer the installer on M1 through M5 and unknown physical Apple Silicon models without expert or model gating
  • preserve the upstream APFS resize, stub volume-group, partition creation, and boot-policy paths
  • use Aurora-Silicon/m1n1@main for chainloading stage 1 and the replaceable proxy-mode stage 2 at m1n1/boot.bin
  • pin Windows 11 25H2 English ARM64 build 26200.8037 by SKU, size, and SHA-256
  • stage the ISO, driver-injected WinPE, ESP, MSR, and marker-bound Windows target entirely on installer-created partitions
  • keep all private drivers out of the public installer and accept a user-supplied AIC HAL/driver tree at runtime
  • require the Apple NVMe and AIC HAL-extension packages, while recursively carrying keyboard, trackpad, keyboard-backlight, GPU, audio, and arbitrary dependency packages
  • require every supplied INF to reference a present catalog; catalog generation and signing remain WDK/driver-build responsibilities
  • enable TESTSIGNING in the setup BCD before first boot and in the installed Windows BCD after image application
  • provide an exact-verification local ISO fallback when Microsoft Sentinel rejects automatic link generation

Storage safety

The Windows ISO, complete driver-tree snapshot, catalogs, deployment scripts, and bundled tools are validated before the partition map changes. Partitioning continues through the inherited Asahi installer sequence. WinPE proves the exact GPT disk ID and unique target marker before its first destructive operation, and never selects a macOS volume as media or target.

The public package never embeds driver binaries. The installer accepts AURORA_WINDOWS_DRIVERS=/absolute/path/to/Drivers or prompts interactively, copies the tree into a private temporary snapshot, verifies its content hash, and only then permits partitioning.

Driver signing and WinPE

The installer requires exactly one AppleNvme.inf package and one HalExtAppleInterruptController.inf package with their payloads and catalogs. All other cataloged INF packages and companion files are preserved recursively for offline injection into Windows. The Apple NVMe package is additionally embedded and verified in both WinPE WIM indexes so Setup can reach the staged internal media.

The installer validates catalog references but does not generate catalogs or handle signing keys. Driver developers should run WDK Inf2Cat and sign the resulting catalogs and kernel binaries with their test certificate before supplying the tree.

Boot status

The shipping stage 2 intentionally remains payload-free m1n1 proxy mode. The current proven Windows path still requires a tethered host to launch target-specific Mu. The stable stage-2 path and manifest allow a future validated autonomous m1n1/Mu image to replace m1n1/boot.bin without changing the APFS stub or partition layout.

Validation

  • 21 unit and safety-contract tests pass
  • Python compilation, shell syntax, C syntax, JSON parsing, and git diff --check pass
  • a public installer package builds successfully without any private driver input or embedded private binaries
  • bundled signed wimlib 1.14.5 and the bundled hivex-backed BCD helper target macOS 12.3
  • the packaged BCD helper modifies and verifies TESTSIGNING in a synthetic BCD hive
  • the packaged WIM tool embeds and verifies the Apple NVMe package in both indexes of a real synthetic WinPE WIM

No live internal-SSD partitioning or hardware Windows deployment was performed as part of this host-side validation.

jannau and others added 11 commits August 10, 2026 11:54
Signed-off-by: Janne Grunau <j@jannau.net>
Fixes failing uefi-only-build runs after updating the u-boot tag to
asahi-v2026.04-2.

Signed-off-by: Janne Grunau <j@jannau.net>
Fixes failing uefi-only-build runs after updating the u-boot tag to
asahi-v2026.04-2.

Fixes: 7c0f0a9 ("CI: uefi-only: Use upstream dts for u-boot 2026.04 and later")
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Janne Grunau <j@jannau.net>
@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Closing without merging. This extends the retired Python installer CLI and is 343 commits behind main, which now installs through the native app. Its Windows deployment work (src/windows.py, data/windows/, the AEA key tool and the BCD test-signing helper) is preserved as tag archive/windows-deployment, so Windows support can be rebuilt on the native installer later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants