Skip to content

fix(kubevirt): boot macOS VM via OVMF + OpenCore instead of SeaBIOS#9929

Merged
h0lybyte merged 1 commit intodevfrom
trunk/macos-seabios-1775796944
Apr 10, 2026
Merged

fix(kubevirt): boot macOS VM via OVMF + OpenCore instead of SeaBIOS#9929
h0lybyte merged 1 commit intodevfrom
trunk/macos-seabios-1775796944

Conversation

@h0lybyte
Copy link
Copy Markdown
Member

Summary

  • macos-builder was getting stuck in SeaBIOS because no firmware.bootloader was set, so KubeVirt fell back to BIOS — macOS cannot boot from SeaBIOS at all
  • Switched to OVMF (UEFI) with secureBoot: false and enabled the SMM feature (required by OVMF regardless of secure boot)
  • Added an OpenCore bootloader disk as a CDI DataVolume — macOS still won't boot off plain UEFI, OpenCore is the bridge that loads the kernel
  • Boot order is now opencore (1) → rootdisk (2) → BaseSystem iso (3)
  • Provisioning docs updated with the new virtctl image-upload dv macos-opencore step using OpenCore.qcow2 from the OSX-KVM repo

Test plan

  • Upload OpenCore.qcow2 from OSX-KVM via virtctl image-upload dv macos-opencore
  • ArgoCD sync angelscript app
  • virtctl start macos-builder -n angelscript
  • virtctl vnc macos-builder -n angelscript — confirm OpenCore boot picker appears (no more SeaBIOS)
  • Select macOS BaseSystem entry, confirm installer launches

Ref #9896

The macos-builder VM was stuck in SeaBIOS because no firmware.bootloader
was set, so KubeVirt defaulted to SeaBIOS — which cannot load macOS.

Switched to OVMF (UEFI) firmware with secureBoot disabled, enabled the
SMM feature required by OVMF, and added an OpenCore bootloader disk
(uploaded as a CDI DataVolume) ahead of the rootdisk in the boot order.

Provisioning docs updated with the new OpenCore.qcow2 upload step from
the OSX-KVM project.
@github-actions
Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA c2c4247.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@h0lybyte h0lybyte merged commit 319fa57 into dev Apr 10, 2026
2 checks passed
@h0lybyte h0lybyte deleted the trunk/macos-seabios-1775796944 branch April 10, 2026 05:09
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.

1 participant