lucid-fabrics/osx-proxmox-next
概要
One-command macOS VM on Proxmox 9: TUI wizard, auto-download, AMD + Intel, Sonoma/Sequoia/Tahoe
システム・インフラ計測したスター増加
- 24時間
- +1
- 7日間
- +7
- 15日間
- +17
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
🍏 OSX Proxmox Next
You're losing 3–6 hours every time you set up a macOS VM on Proxmox.
OpenCore plist editing. GenSMBIOS. Manual qm commands. One wrong flag and you start over.
osx-proxmox-next does it in under 5 minutes.
One command. One screen. Done.
🎮 New in v0.32: guided GPU passthrough. AMD Radeon with native macOS drivers, and NVIDIA RTX 20 to 50 through the community NullMoth driver (beta), and the Intel iGPU through WhateverXe (beta).
One command walks you through the BIOS, the host and the VM: osx-next-cli gpu-setup · How it works
🧰 Stop Wasting Afternoons on macOS VMs
The manual route eats your time: find the right OpenCore build, edit plist files, run GenSMBIOS, copy ISOs, type out qm commands, debug boot failures, repeat. Most people give up or spend a full day getting it right once - then forget the steps by the next time.
osx-proxmox-next replaces all of it with one screen that runs on your Proxmox host.
You get:
- A TUI that starts on your Macs, with a live picture of each VM's screen, and makes a new Mac from one prefilled screen followed by one build timeline: Check this host > Download macOS > Rehearse > Create VM > Install macOS
- Graphics card passthrough (BETA): choose and approve once, restart once, confirm it works. The tool scans your cards, shows a BIOS screen with the settings to change for your board and a QR code, only when a setting must change, sets up the host and attaches the card, and puts everything back on request. AMD Radeon natively, NVIDIA RTX 20 to 50 via the community NullMoth driver, the Intel iGPU via WhateverXe
- Hands-off install (BETA): the default on the New Mac screen, so you can walk away - the tool erases the new disk, runs the installer, and answers every reboot until macOS sits at Setup Assistant
- OpenCore boot image assembled on your host from pinned, checksum-verified upstream releases - no opaque prebuilt blob
- Auto-detected hardware defaults (CPU vendor, cores, RAM, storage targets)
- Intel, Xeon, and AMD CPU support - auto-detected, zero configuration needed
- Automatic OpenCore and recovery/installer download - no manual file placement
- Shared storage support - download ISOs to NAS or any Proxmox storage pool (
--iso-dir) - Auto-generated SMBIOS identity (serial, UUID, model) - no OpenCore editing needed
- Graphical boot picker with Apple icons - waits for your choice during install, auto-boots once
post-installruns - Mandatory dry-run before live install previews every command
- Real-time form validation with inline error feedback
How It Compares
| Manual setup | osx-proxmox-next | |
|---|---|---|
| Time to first boot | 3–6 hours | < 5 minutes |
| OpenCore setup | Edit plist files by hand | Automatic |
| SMBIOS generation | External tool (GenSMBIOS) | Built-in, zero config |
| Apple Services | Manual identity chain | One flag: --apple-services |
| Tahoe 26 | Community trial & error | Supported |
| GPU passthrough | Wiki pages, BIOS hunting, kernel flags, reboots | Guided walkthrough with undo, AMD + NVIDIA + Intel iGPU (beta) |
| Dry-run preview | Never | Always - see every qm command first |
| Scripting / CI | Never | Full CLI + JSON export |
| Post-install health check | Never | osx-next-cli doctor --vmid <id> |
If this already looks better than what you've been doing - ⭐ star the repo and help others find it.
Demo
CLI tools (preflight, plan, doctor):

TUI Preview
![]() Your Macs: a live screen for every VM |
![]() New Mac: everything prefilled, press enter |
![]() Build: the timeline and the Mac's screen |
![]() Graphics card: choose and approve once |

Note: Dynamic wallpapers are known to not display correctly without GPU passthrough on VNC. Use a static wallpaper instead.
Built solo, maintained in free time. If it saved you an afternoon:
🚀 Quick Start
Run this on your Proxmox 9 host as root:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/lucid-fabrics/osx-proxmox-next/main/install.sh)"
This clones the repo, sets up a Python venv, and launches the TUI.
Built solo and maintained in my free time. If it saves you an afternoon of
qmcommands, a coffee helps or a coffee on BMC. ☕
🐚 Bash Alternative
Prefer a standalone bash script with no Python dependency?
curl -fsSL https://raw.githubusercontent.com/lucid-fabrics/osx-proxmox-next/main/scripts/bash/osx-proxmox-next.sh -o /tmp/osx-proxmox-next.sh && bash /tmp/osx-proxmox-next.sh
Same VM creation logic (OpenCore + osrecovery + SMBIOS), whiptail menus, no venv needed. The advanced settings include the same Unattended install (BETA) toggle as the TUI.
🪄 TUI Walkthrough
| Screen | What Happens |
|---|---|
| Your Macs | Opens on your macOS VMs as cards with a live picture of each screen. Keys: enter open, s start or stop, e edit, g graphics card, d remove, n new Mac, h host check, v cards or list, ? help, q quit |
| New Mac | One screen, prefilled from the host: macOS version, name, size (Light, Balanced, Heavy, Custom), storage, install mode, Apple ID. Left and right change a choice, up and down move between rows, enter creates the Mac. Everything else (VLAN, CPU model, NIC, installer path, UUID) is under More |
| Build | One timeline: Check this host, Download macOS, Rehearse every step (nothing on the host changes before it passes), Create VM, Install macOS. The VM's live screen sits beside it. l shows the full log, z zooms the screen |
| Host check | Failing checks first, each with one plain sentence on why it matters. Where there is a safe fix (KVM ignore_msrs, a missing apt package) f shows the exact commands and runs them after you confirm |
| Graphics card (BETA) | Choose the card and the Mac, approve the whole plan once, restart once, confirm it works. p lists every change, u puts everything back |
| 🤖 Unattended (BETA) | Optional: drives the whole macOS install automatically - erases the new disk, runs the installer, handles every reboot - until Setup Assistant |
Hands-off is the default value of the Install row; choose Manual to finish the install yourself, and a hands-off run keeps going if you close osx-next and shows the same Build screen when you reopen it.
Most users: press n, check the prefilled choices, press enter. Host detection runs in the background and CPU defaults are picked for you. ctrl+p opens a command palette with every screen and every Mac by name.
🤖 Unattended Install (BETA)
Leave Install on Hands-off on the New Mac screen (or answer yes in the bash script's advanced settings) and the tool finishes the whole macOS install by itself: it boots recovery, erases the new VM disk, runs startosinstall, and answers the boot picker across every reboot. Thirty to sixty minutes later the VM is sitting at Setup Assistant. It works by watching the VM console (qm screendump frame sizes) and typing (qm sendkey), so it needs nothing extra installed.
# CLI flavour: run right after apply --execute, while the VM shows the boot picker
osx-next-cli install-unattended --vmid 910
Beta notes: verified on Ventura, Sonoma, Sequoia and Tahoe across Intel and AMD hosts; Monterey uses the same flow but is not yet verified. Leave the VM console alone while it runs. If a phase times out it stops and leaves the VM as-is so you can continue manually.
Smart caching: OpenCore and recovery images are downloaded once and reused across VM installs. Creating a second Sonoma VM? No re-download needed. Use
--iso-diron shared storage to cache across Proxmox nodes.
📋 Requirements
Hardware
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 4 cores (power of 2), VT-x/AMD-V (Intel or AMD) | 8+ cores |
| RAM | 8 GB host (4 GB to VM) | 16+ GB host |
| Storage | 64 GB free | 128+ GB SSD/NVMe |
| GPU | Integrated | Discrete (for passthrough) |
AMD CPUs are fully supported. The tool auto-detects your CPU vendor and applies the correct configuration (Cascadelake-Server emulation for AMD, native host passthrough for Intel). Xeon and pre-Skylake Intel CPUs are also handled automatically: workstation Xeons (E3, W, D series) stay on
-cpu host, while multi-socket-capable parts (Xeon E5/E7 v2-v4 HEDT and Xeon Scalable: Platinum/Gold/Silver/Bronze) get a fixed emulated CPU model instead, since-cpu hostleaks their genuine multi-package topology and can livelock macOS's scheduler during install. Older consumer Intel gets Penryn mode, and Xeon/legacy Intel gete1000instead ofvmxnet3for reliable network during installation. Use--cpu-modelto override any auto-detected choice.
CPU Compatibility
| CPU Type | Support | QEMU Mode | NIC |
|---|---|---|---|
| Modern Intel (Skylake+) | Full | -cpu host (native passthrough) |
vmxnet3 |
| Intel Xeon workstation (E3, W, D) | Full | -cpu host (native passthrough) |
e1000 |
| Intel Xeon E5/E7 v2-v4 (HEDT, dual-socket) | Full | Fixed emulated model (Broadwell-noTSX / Haswell-noTSX) | e1000 |
| Intel Xeon Scalable (Platinum/Gold/Silver/Bronze) | Full | Fixed emulated model (Skylake-Client-noTSX-IBRS) | e1000 |
| Pre-Skylake Intel (Broadwell, Haswell, etc.) | Full | Penryn mode | e1000 |
| AMD (any) | Full | Cascadelake-Server emulation | vmxnet3 |
| Apple Silicon (ARM Proxmox) | Not supported | n/a | n/a |
All modes are auto-detected. Zero configuration needed.
Host
- Proxmox VE 9 with root shell access
- Internet access (for bootstrap + dependencies)
- ISO storage available (e.g.
/var/lib/vz/template/isoor shared NAS via/mnt/pve/*/template/iso)
TSC Check (Recommended)
Stable TSC flags reduce clock drift and VM lag. Check with:
lscpu | grep -E 'Model name|Flags'
Look for constant_tsc and nonstop_tsc in the output.
🍎 Supported macOS Versions
| macOS | Channel | Apple Services | Notes |
|---|---|---|---|
| Monterey 12 | ✅ Stable | ✅ Works | Oldest supported release; no Intel iGPU or NVIDIA passthrough |
| Ventura 13 | ✅ Stable | ✅ Works | Lightweight, great for older hardware |
| Sonoma 14 | ✅ Stable | ✅ Works | Best tested, most reliable |
| Sequoia 15 | ✅ Stable | 🧪 Community-tested | Kernel patch applied automatically with --apple-services |
| Tahoe 26 | ✅ Stable | 🧪 Community-tested | Kernel patch applied automatically with --apple-services |
Apple Services on Sequoia/Tahoe VMs: This tool automatically applies two kernel-level patches when
--apple-servicesis enabled. Together they hide the real VM detection sysctl (hv_vmm_present) and reroute the name to the hibernate counter, which reads 0 on a default VM, so Apple's DeviceCheck sees what appears to be a physical machine. Confirm inside the VM withsysctl -n kern.hv_vmm_present, which must print0. See the Apple Services section for details.
🧪 macOS 27 arm64 (beta)
The New Mac screen has one more choice at the end of the macOS list: 27 arm64 (beta). It runs a real arm64 macOS 27 guest, emulated in software on your x86 host, inside a Debian runner VM that the wizard creates (10 cores and 12 GB by default, 120 GB of disk). Nothing is installed on the Proxmox host itself.
- Expect it to be slow: about 66 s from QEMU start to the Dock on a 16-thread host, 15 frames per second when dragging a window, and roughly three times slower on 6 shared threads.
- One
arm64 apply --executewith the local Apple inputs creates the runner, builds the stack, restores macOS and runs firstboot;readyis written only after Dock and Finder answer. After that, Start in Proxmox is the entry point: the runner's console shows the macOS desktop on the VM's own display, no SSH tunnel and no VNC client. See the beta guide for the inputs, the 12 GB runner / 6 GB guest guidance and the console. - Known issues: Safari can loop through "A problem repeatedly occurred" for a few minutes on hosts with 6 to 8 weak cores, and there is no audio.
- From the command line:
osx-next-cli arm64 plan --vmid 478 --name macos27-runner --storage local-lvm.
Everything under arm64/ is GPL-2.0-or-later (see arm64/LICENSE); the rest of the project stays Apache-2.0. Details, host needs and bug reporting: the beta guide.
⌨️ CLI Usage
For scripting or headless use, the CLI bypasses the TUI entirely:
# Show version
osx-next-cli --version
# Download OpenCore + recovery images
osx-next-cli download --macos ventura
# Re-download the OpenCore ISO, ignoring any cached copy
osx-next-cli download --macos ventura --force
# Check host readiness
osx-next-cli preflight
# Show which graphics driver a Mac has and whether a newer one exists
osx-next-cli driver-status --vmid 101
# Update the graphics driver of a Mac that has a card (snapshot first)
osx-next-cli driver-update --vmid 101
# Undo the last driver update (the Mac goes back to its driver snapshot)
osx-next-cli driver-undo --vmid 101
# BETA: hands-off install - run right after apply --execute; erases the new
# VM disk, drives the whole install, ends at Setup Assistant
osx-next-cli install-unattended --vmid 910
# Preview commands (dry run) - SMBIOS identity auto-generated
osx-next-cli apply \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm
# Execute for real
osx-next-cli apply --execute \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm
# Put the VM on a tagged VLAN (blank/omitted = untagged)
osx-next-cli apply --execute \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --vlan 20 --storage local-lvm
# Enable verbose kernel log (shows text instead of Apple logo during boot)
osx-next-cli apply --execute --verbose-boot \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm
# Use shared NAS storage for ISO/recovery images
osx-next-cli apply --execute \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm \
--iso-dir /mnt/pve/nas/template/iso
# Skip SMBIOS generation entirely
osx-next-cli apply --no-smbios \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm
# Provide your own SMBIOS values
osx-next-cli apply --execute \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm \
--smbios-serial C02G3050P7QM --smbios-uuid "$(uuidgen)" \
--smbios-model MacPro7,1
# Enable Apple Services (iMessage, FaceTime, iCloud)
osx-next-cli apply --execute \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm \
--apple-services
# Export plan as JSON (for scripting / CI integration)
osx-next-cli plan --json \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm
# Destroy a VM (dry run - preview commands)
osx-next-cli uninstall --vmid 910
# Destroy a VM (execute for real, including disk images)
osx-next-cli uninstall --vmid 910 --purge --execute
# Edit an existing VM (dry run - preview commands)
osx-next-cli edit --vmid 910 --cores 4 --memory 8192
# Edit an existing VM (rename + extend disk, execute for real)
osx-next-cli edit --vmid 910 --name macos-sequoia-v2 --add-disk 64 --execute
# Edit an existing VM (change bridge, preserve existing NIC model and MAC)
osx-next-cli edit --vmid 910 --bridge vmbr1 --execute
# Edit an existing VM (change bridge with explicit NIC model)
osx-next-cli edit --vmid 910 --bridge vmbr1 --nic-model e1000 --execute
# Edit and restart VM automatically after changes
osx-next-cli edit --vmid 910 --cores 8 --memory 16384 --start --execute
# Clone a VM with a fresh SMBIOS identity (dry run - preview commands)
osx-next-cli clone --source-vmid 910 --new-vmid 911 --name macos-sequoia-clone
# Clone and execute (regenerates serial, UUID, MLB, ROM, vmgenid - both VMs stay independent on Apple services)
osx-next-cli clone --source-vmid 910 --new-vmid 911 --name macos-sequoia-clone --execute
# Clone with explicit macOS version hint
osx-next-cli clone --source-vmid 910 --new-vmid 911 --macos sonoma --execute
# Clone without Apple services identity reset
osx-next-cli clone --source-vmid 910 --new-vmid 911 --no-apple-services --execute
# Diagnose a VM for common config issues (balloon, machine type, cores, NIC, SMBIOS, boot order…)
osx-next-cli doctor --vmid 910
🔧 Troubleshooting
Not sure what's wrong? Run the VM health check first:
osx-next-cli doctor --vmid <your-vmid>
It checks balloon driver, machine type, CPU config, NIC model, SMBIOS, boot order, disk layout, and more - and prints a fix command for every failure it finds.
macOS installer doesn't show my disk
In the macOS installer:
- Open Disk Utility
- Click View > Show All Devices
- Select QEMU VirtIO Block Device
- Erase with format APFS and scheme GUID Partition Map
- Close Disk Utility and continue installation
Live apply is blocked - missing assets
The tool requires OpenCore and recovery/installer images. It scans /var/lib/vz/template/iso and /mnt/pve/*/template/iso for:
opencore-osx-proxmox-vm.isooropencore-{version}.iso{version}-recovery.imgor{version}-recovery.iso
Use osx-next-cli download --macos <version> to auto-fetch missing assets. The TUI downloads missing assets in the Download macOS phase of the build.
I see UEFI Shell instead of macOS boot
Boot media path or order mismatch. Ensure OpenCore is on ide0 and recovery on ide2, with boot order set to ide2;virtio0;ide0.
Install never finishes, it keeps restarting in Recovery
Different from the one below: here the install never completes at all. A macOS install reboots itself two or three times, and each reboot returns to the OpenCore picker. The picker lists macOS Base System (the recovery disk on ide2) before macOS Installer, so any auto-boot picks the wrong one and every reboot restarts Recovery instead of resuming.
Current releases ship the picker with Timeout=0, so it waits for you rather than choosing wrongly. If you are on an older build where it auto-boots after 15s, this is the loop you are hitting.
The fix: detach recovery once the installer has rebooted for the first time.
osx-next-cli post-install --vmid <id> --execute
With ide2 gone the picker only lists the installer, so auto-boot picks the right entry and the install resumes to completion. Run this after the first reboot, not only at the very end.
Selecting macOS Installer manually at the picker works for that boot. Pressing Ctrl+Enter on it is supposed to make it the default (the config enables AllowSetDefault and RequestBootVarRouting for this), but results have been inconsistent in testing, so treat it as a convenience rather than the fix. Detaching recovery is the one that reliably holds.
Loops back to Recovery after the install finishes
The install succeeded but OpenCore is still booting the on-disk Recovery volume. macOS only sets the startup disk once it boots the new system for real, and it never got there, so the bootloader keeps falling back to Recovery. post-install only reorders the Proxmox boot devices, it cannot change the bootloader's saved choice inside the VM.
Fix it from the VM console:
- Reboot and wait for the OpenCore picker (the screen with the disk icons).
- Press spacebar to reveal all entries, select macOS (not "Install macOS" or "Recovery"), and boot it.
- Optionally press Ctrl+Enter on that entry to make it the default so the choice sticks.
- If it still returns to Recovery, pick Reset NVRAM in the picker first, reboot, then select macOS again.
Once macOS reaches the Setup Assistant and you finish setup, later boots go straight to macOS.
"Guest has not initialized the display"
Boot/display profile mismatch during early boot. Use vga: std for stable noVNC during installation.
macOS is slow on AMD CPU
Expected behavior. AMD hosts use Cascadelake-Server CPU emulation instead of native passthrough (-cpu host). This adds overhead but is required for macOS compatibility. Intel hosts get native performance.
Stuck on Apple logo (no progress, flat CPU)
macOS requires power-of-2 CPU core counts (2, 4, 8, 16). Non-power-of-2 values like 6 or 12 can cause the kernel to hang at the Apple logo. The tool defaults to safe values, but if you overrode the core count manually, try reducing to 4 or 8.
I want to see verbose kernel log instead of Apple logo
Use --verbose-boot flag in CLI: osx-next-cli apply --verbose-boot .... This adds -v to OpenCore boot arguments. Useful for debugging boot issues.
🎮 GPU Passthrough
One guided flow takes a card from "it is in the server" to "macOS uses it": scan, a BIOS screen with a QR code, host setup with a diff and backups, VM attach, first boot, and a full undo. It resumes across reboots.
osx-next-cli gpu-setup # or: press g on a Mac in the TUI, or osx-proxmox-next.sh gpu-setup
osx-next-cli gpu-setup --status # read only
osx-next-cli gpu-setup --undo # put everything back
AMD Polaris, Vega, Navi 10/14/21/23 (RX 400/500, Vega 56/64, Radeon VII, RX 5000, RX 6600/6800/6900): native macOS drivers, no extra software. RX 6700, RX 7000 and RX 9000 series and APUs are not supported.
NVIDIA Turing and newer (RTX 20 to 50): beta, through the third-party NullMoth driver on Sequoia 15.5+ and Tahoe 26, with core macOS security turned off. The guided flow shows the NullMoth notice and asks you to acknowledge it. The tool then downloads the latest NullMoth release (or the one you pick), verifies it and installs it inside macOS for you, with nothing to do in macOS, and prints the ssh and vnc lines. Once the driver loads, the Proxmox console goes black, so connect a monitor or an HDMI/DisplayPort dummy plug to the card (without one there is no desktop; Screen Sharing mirrors that display and SSH always works).
Intel iGPU (beta, WhateverXe): Tiger Lake and Alder/Raptor Lake graphics give a macOS VM full Metal acceleration on Ventura, Sonoma and Sequoia, with Tahoe experimental (not supported on Monterey). The scan finds the iGPU by itself and lists every GPU in the host with a status for the macOS release you pick ("works with macOS Sequoia 15", "not supported by macOS Sequoia 15", "in use by VM 100"). It preselects the strongest one that works (a supported AMD card beats the iGPU, the iGPU beats an NVIDIA card) and nothing changes until you confirm. What it costs: the host gives up its local screen, you need a monitor or an HDMI dummy plug on the native HDMI port (LSPCON HDMI and USB-C do not work, laptop panels mostly do not), and the host reboots once. The iGPU shares the CPU's power budget, so a busy host slows it down. On Tahoe the graphics package setup runs automatically too, but every restart from inside macOS hangs, so Tahoe stays experimental and a restart has to come from Proxmox. Tested on one machine only (i5-1240P, Iris Xe 8086:46a6), every other chip is untested.
osx-next-cli igpu-installbuilds the whole VM hands-off, including the graphics package. Details: Intel iGPU (WhateverXe).
Laptop NVIDIA GPUs are not supported: the scan marks them "not supported (laptop NVIDIA)" (judged by the lspci name: Laptop, Mobile, Max-Q or a chip name ending in M) and recommends the Intel iGPU instead.
NVIDIA support relies on NullMoth, a community driver tested by its own community: this tool downloads the driver, verifies it and installs it for you, but we take no responsibility for the driver or its install. AMD cards and the host setup steps (kernel command line, vfio binding, host reboot) are covered by tests but not yet tried on real hardware. Full guide with the supported-cards matrix and a page per BIOS vendor: GPU passthrough (guided).
Updating the driver
Press g on a Mac that has a card: the Driver row shows what is installed and what is newer, and enter updates it after one approval (a snapshot is saved first).
r undoes the driver update. The shell does the same, and the guide has the detail per card.
osx-next-cli driver-status --vmid 101 # installed, newest, snapshots; driver-update updates (--dry-run previews)
osx-next-cli driver-undo --vmid 101 # undo the driver update (osx-proxmox-next.sh has all three commands too)
⚡ Performance Tips
- Use SSD/NVMe-backed storage for VM disks
- Don't overcommit host CPU or RAM
- Keep the main macOS disk on
virtio0, OpenCore onide0, recovery onide2 - Use
vga: stdduring installation (switch after) - Change one setting at a time and measure the impact
- Intel CPUs get native host passthrough, best performance
- Xeon CPUs get native host passthrough (same as modern Intel, Penryn is skipped), except real HEDT chips (E5/E7 v2-v4), which use a fixed emulated model to avoid a scheduler livelock
- Pre-Skylake Intel (Broadwell, Haswell, etc.) use Penryn mode with
e1000NIC for install stability - AMD CPUs use Cascadelake-Server emulation - functional but slower due to CPU translation overhead
🎛️ Guest Performance Profiles (Optional)
These are optional shell scripts that run inside the macOS guest to tune responsiveness. They are not part of this project and are not required - use them only if you understand what they change.
Blazing Profile
Optimized for maximum UI speed in the VM. Best for general use where you want the snappiest experience.
| What It Changes | Setting |
|---|---|
| UI animations | Disabled (window resize, Mission Control, Dock) |
| Transparency effects | Disabled (reduces compositing overhead) |
| Spotlight indexing | Disabled (mdutil -a -i off) - frees CPU/IO |
| Sleep on AC power | Disabled (sleep, display sleep, disk sleep, Power Nap all off) |
| Dock/Finder/SystemUIServer | Restarted to apply changes |
⚠️ Trade-off: No Spotlight search (Finder search, Siri suggestions, and in-app search won't index new files).
Xcode Profile
Optimized for development workflows (Xcode, SourceKit, code search). Similar UI optimizations as Blazing, but keeps Spotlight alive.
| What It Changes | Setting |
|---|---|
| UI animations | Disabled (same as Blazing) |
| Transparency effects | Disabled (same as Blazing) |
| Spotlight indexing | Kept ON - required for Xcode code completion and search |
| System sleep | Disabled, but display sleep is allowed (longer coding sessions) |
| Dock/Finder/SystemUIServer | Restarted to apply changes |
⚠️ Trade-off: Slightly more background CPU/IO from Spotlight, but Xcode features work fully.
Which Profile Should I Use?
| Use Case | Profile |
|---|---|
| General browsing, testing apps | Blazing |
| Xcode / SwiftUI / iOS development | Xcode |
| Don't know / want defaults | Neither - skip this section |
Usage
# Apply blazing profile
bash scripts/profiles/apply_blazing_profile.sh
# Revert to macOS defaults
bash scripts/profiles/revert_blazing_profile.sh
# Apply xcode profile
bash scripts/profiles/apply_xcode_profile.sh
# Revert to macOS defaults
bash scripts/profiles/revert_xcode_profile.sh
Safety Notes
- Snapshot your VM before applying any profile
- Apply only one profile at a time
- Always keep the matching
revert_*script ready - These scripts accept an optional sudo password argument - avoid storing passwords in plain text
☁️ Enable Apple Services (iCloud, iMessage, FaceTime)
Apple services require a complete, consistent identity chain spanning both QEMU SMBIOS and OpenCore's EFI PlatformInfo - plus stable network/time configuration.
How It Works
macOS validates Apple ID through two identity sources:
| Layer | What it provides | How it's set |
|---|---|---|
| QEMU SMBIOS | Serial, UUID, model visible to firmware | Proxmox --smbios1 flag |
| OpenCore PlatformInfo | Serial, UUID, MLB, ROM visible to macOS | Patched into config.plist via plistlib |
Both must carry identical values. The ROM field must be derived from the NIC MAC address - macOS cross-checks ROM against the hardware NIC during Apple ID validation.
When --apple-services is enabled, this tool automatically:
- Generates Apple-format SMBIOS identity (serial, UUID, MLB, ROM, model) - GenSMBIOS-compatible base-34 serials with valid manufacturing codes and checksummed MLB, no external binary needed
- Generates a stable static MAC address for the NIC
- Derives ROM from the MAC address (first 6 bytes, no colons)
- Applies SMBIOS via Proxmox's
--smbios1flag - Patches OpenCore's
config.plistPlatformInfo with matching values - Adds a
vmgeniddevice for Apple service stability
SMBIOS Identity (Auto-Generated)
- TUI: SMBIOS is auto-generated when you press
enteron the New Mac screen. - CLI: SMBIOS is auto-generated unless you pass
--no-smbiosor provide your own values via--smbios-serial,--smbios-uuid,--smbios-mlb,--smbios-rom,--smbios-model. - Existing UUID: Enter an existing UUID under More on the New Mac screen to preserve it (useful for re-running on an existing VM).
The generated values are visible in the dry-run output as a qm set --smbios1 step.
Usage
# Enable Apple Services (auto-generates identity + vmgenid + static MAC + PlatformInfo)
osx-next-cli apply --execute \
--vmid 910 --name macos-sequoia --macos sequoia \
--cores 8 --memory 16384 --disk 128 \
--bridge vmbr0 --storage local-lvm \
--apple-services
# With custom UUID (provide your own)
osx-next-cli apply --execute \
--vmid 910 --name macos-sequoia --macos sequoia \
--apple-services --smbios-uuid "YOUR-UUID-HERE"
In the TUI, set the Apple ID row to On to add:
vmgeniddevice (required for Apple services)- Static MAC address (persistent across reboots)
- PlatformInfo patching in OpenCore's
config.plist
Post-Install Steps
- Verify NVRAM is writable and persists across reboots
- Boot macOS and confirm date/time are correct and network/DNS works
- Sign in order: Apple ID (System Settings) first, then Messages, then FaceTime
- Reboot once after login to confirm session persistence
Checklist
- SMBIOS values are unique to this VM (auto-generated)
- MAC address is stable (auto-generated with
--apple-services) - ROM derived from NIC MAC (auto-configured with
--apple-services) - OpenCore PlatformInfo matches SMBIOS (auto-patched with
--apple-services) - vmgenid is configured (auto-generated with
--apple-services) - Same OpenCore EFI is always used
- NVRAM reset is not triggered on every boot
Common Issues
| Problem | Fix |
|---|---|
| "This Mac cannot connect to iCloud" | Recheck serial/MLB/UUID/ROM uniqueness. Sign out, reboot, sign in again. |
| "iMessage activation failed" | Verify ROM matches NIC MAC and MAC is static. Check date/time sync. |
| Works once then breaks | VM config is regenerating SMBIOS or NIC MAC between boots. |
| PlatformInfo not applied | Ensure --apple-services flag is set. Check OpenCore config.plist for PlatformInfo section. |
| "Verification Failed" on Sequoia/Tahoe | Ensure --apple-services is set - the kernel patch is applied automatically. If still failing, reboot once after first sign-in attempt. |
Note: This tool configures all identity fields automatically, but Apple controls service activation server-side. Even with a correct setup, activation may require multiple attempts or a call to Apple Support. Never share SMBIOS values publicly or reuse them across VMs.
Sequoia/Tahoe Apple ID - Kernel Patch Fix
Starting with macOS Sequoia 15, Apple's DeviceCheck reads hv_vmm_present from the kernel sysctl table to detect VMs and block Apple ID sign-in. The error appears as:
Verification Failed - An unknown error occurred.
This tool fixes it automatically. When --apple-services is enabled, two kernel-level OpenCore patches are injected into config.plist that swap the two sysctl names: the OID that really reports VM presence is renamed to hibernatecount, and the harmless hibernate counter is renamed to hv_vmm_present. So sysctl -n kern.hv_vmm_present now reads the counter (0 on a default VM) and DeviceCheck sees what appears to be a physical machine.
Check it worked, inside the VM:
sysctl -n kern.hv_vmm_present # must print 0
If it prints 1 the patch is not in effect and sign-in will fail. Releases that predate the fix for #114 shipped only the second patch, so both OIDs ended up named hv_vmm_present and the real one still won. Rebuild the VM on the latest release.
Not officially verified. Attestation is server-side and Apple can change it at any time, so results may vary. The sysctl check above tells you whether the patch itself is working; everything past that is up to Apple. If it works for you, consider sharing your experience on Discord.
RestrictEvents.kextwithrevpatch=sbvmmalone does not fix this - that only hideskern.hv_vmm_presentfrom userspace. The kernel patch operates at the sysctl string table level, which is what Apple's attestation stack reads directly.
If sign-in still fails after applying the patch:
- Reboot the VM once - the patch requires a clean boot to take effect
- Confirm
sysctl -n kern.hv_vmm_presentprints0 - Verify
--apple-serviceswas set during VM creation - As a last resort: create a Sonoma 14 VM, sign in, then upgrade in-place to Sequoia/Tahoe
📂 Project Layout
src/osx_proxmox_next/
app.py # TUI app (Textual): theme, command palette, host check in the background
cli.py # Non-interactive CLI
domain.py # VM config model + validation (VmConfig, EditChanges, PlanStep)
planner.py # qm command generation (build_plan, build_edit_plan)
executor.py # Dry-run and live execution engine
assets.py # OpenCore/installer ISO detection
downloader.py # Auto-download OpenCore + recovery images
defaults.py # Host-aware hardware defaults
preflight.py # Host capability checks
rollback.py # VM snapshot/rollback hints
smbios.py # SMBIOS identity generation (serial, UUID, MLB, ROM, model)
smbios_planner.py # SMBIOS PlanStep builder
profiles.py # VM config profile management
infrastructure.py # Proxmox command adapter
diagnostics.py # Diagnostic log bundle export
theme.py # The osx-next Textual theme (every colour of app.tcss)
presets.py # Light, Balanced and Heavy VM sizes
models/ # NewMacState: the New Mac screen's state and validation rules
services/ # Detection, build pipeline, host fixes, install driver log, Proxmox queries
forms/ # Form value validation shared by the screens
screens/ # Home, VM view, New Mac, Build, Host check, Graphics card and their dialogs
widgets/ # Live VM screen, key bar, top bar, capacity bars, form rows
py.typed # PEP 561 type marker
🪝 Git Hooks
bash scripts/setup-hooks.sh
Enables pre-commit, commit-msg, and pre-push hooks for:
- Commit message validation - enforces conventional commits format
- Secret detection - blocks hardcoded passwords, API keys, tokens
- Code quality warnings - flags TODO/FIXME and debug
print()statements
❓ FAQ
Can I pass through an NVIDIA GeForce GPU?
Only Turing and newer (RTX 20 / 30 / 40 / 50), and only with a third-party driver. Apple dropped NVIDIA support years ago, but the community NullMoth driver provides Metal on macOS Sequoia 15.5+ and Tahoe 26. This project can set up a VM for it and install the driver for you (beta, see GPU passthrough (guided)), but does not make, review or support the driver, and it requires turning core macOS security off. After the driver loads the Proxmox console goes black, so connect a monitor or an HDMI/DisplayPort dummy plug to the card to get a desktop (Screen Sharing then mirrors it; SSH always works, and the tool turns both on for you).
| Architecture | Cards | macOS support |
|---|---|---|
| Kepler | GTX 600 / 700 | Big Sur 11 (native drivers), not supported here |
| Maxwell | GTX 900 | High Sierra 10.13.6 (Web Drivers), not supported here |
| Pascal | GTX 10-series, Titan Xp | High Sierra 10.13.6 (Web Drivers), not supported here |
| Volta | Titan V | Not supported |
| Turing and newer | RTX 20 / 30 / 40 / 50 | Sequoia 15.5+ and Tahoe 26 via NullMoth (beta) |
Monterey, Ventura and Sonoma guests have no NVIDIA path at all. For a conventional setup on any supported macOS, use an AMD card instead: Polaris (RX 470/480/570/580), Vega, and Navi 10, 14, 21 and 23 (RX 5000, RX 6600, RX 6800/6900) have native macOS drivers and work with WhateverGreen, which ships in the OpenCore image. RX 6700, RX 7000 and RX 9000 cards have no macOS driver.
Why does macOS show "Memory Modules Misconfigured"?
This is cosmetic and specific to the MacPro7,1 SMBIOS. macOS knows the real Mac Pro has 12 RAM slots and expects them filled in groups, so a VM's flat memory layout trips the warning. Nothing is actually wrong with the VM.
VMs created from v0.26 onward are fixed automatically. The OpenCore disk build now injects RestrictEvents.kext, whose default revblock=auto setting blocks the MemorySlotNotification and ExpansionSlotNotification processes that produce the warning. No boot-arg is required.
Earlier versions of this FAQ suggested
revpatch=memtab. That value only enables the Memory tab on MacBookAir SMBIOS models and does nothing onMacPro7,1, so skip it. The process blocking that removes the warning is on by default once the kext is present.
For a VM created before v0.26, fix it in place:
- Shut down the VM and back it up.
- Mount partition 1 of the OpenCore disk (the small
ide0disk) on the Proxmox host. - Download the RestrictEvents release zip and copy
RestrictEvents.kextintoEFI/OC/Kexts/. - Add a
Kernel > Addentry inconfig.plistwithBundlePathRestrictEvents.kext,ExecutablePathContents/MacOS/RestrictEvents,PlistPathContents/Info.plist,EnabledTrue. KeepLilu.kextabove it in the list. - Unmount, boot, then dismiss any old copy of the warning still sitting in Notification Center. Blocking stops new notifications but does not clear ones already delivered.
Avoid changing the SMBIOS model to dodge the warning if you already have iCloud/iMessage working, since those are bound to the MacPro7,1 identity.
How do I update the NVIDIA, Intel or AMD driver?
Press g on the Mac in the TUI and press enter on the Driver line, or run osx-next-cli driver-update --vmid <id>. It saves a snapshot first, so r in the TUI (or osx-next-cli driver-undo --vmid <id>) can undo the driver update. See Updating the driver.
My desktop wallpaper is white or blank
This usually means macOS is running without GPU acceleration (the default vga: std framebuffer). Dynamic wallpapers in particular do not render in software mode. Pass through a supported AMD GPU for full acceleration, or pick a static wallpaper.
The CLI keeps using an old OpenCore image
The OpenCore ISO is cached on disk and reused on every run. To pull a fresh copy, force it:
osx-next-cli download --macos <version> --force
In the TUI, switch the Download row under More on the New Mac screen to On. Note this only refreshes the image for new installs; it does not modify the EFI of a VM you already created.
Can you run macOS in a virtual machine on Proxmox?
Yes. osx-proxmox-next creates a macOS VM on Proxmox VE 9 in one command: it builds the OpenCore bootloader, downloads the official Apple recovery image, generates a SMBIOS identity, and boots the installer. macOS Monterey 12, Ventura 13, Sonoma 14, Sequoia 15, and Tahoe 26 are supported.
Does macOS work on AMD CPUs under Proxmox?
Yes. AMD hosts are auto-detected and run with Cascadelake-Server CPU emulation. Intel hosts (including 12th gen+ hybrid and Xeon) get the correct CPU mode automatically. No configuration needed.
How long does it take to install macOS on Proxmox?
About 5 minutes of setup in the TUI, then the macOS installer runs unattended. Download time depends on your connection (recovery image is ~0.9 GB, downloaded once and cached).
Is GPU passthrough supported?
Yes. osx-next-cli gpu-setup walks you through it, including the BIOS and the host setup. See GPU Passthrough.
Is running macOS in a VM legal?
This project is for testing, lab use, and learning. Apple's license terms govern where macOS may run; you are responsible for compliance in your region.
More: full FAQ in the docs.
🔮 Roadmap
- 🧩 Multi-VM templates - save and reuse configurations across VMs
- 🔄 Auto-update OpenCore - detect and pull latest OpenCore releases
💖 Supporters
This project is free and open source. Sponsors keep it alive and shape what gets built next.
Sponsors:
- ❤️ SuperDooper ($34 GH Sponsors Apr 18)
- ❤️ Tim ($5 Ko-fi Jul 8)
- ❤️ Wotao Yin ($10 Ko-fi Jun 27)
- ❤️ Arketsu ($10 BMC Mar 14)
- ❤️ RNDThoughts ($5 Ko-fi Feb 19)
- ❤️ Anonymous ($20 Ko-fi Jun 29)
- ❤️ 1 donor $10 BMC Jul 15
Want to join them? Sponsor on GitHub
⚖️ Disclaimer
This project is for testing, lab use, and learning. Respect Apple licensing and intellectual property. You are responsible for legal and compliance use in your region.
This project is built and maintained solo. No company, no team - just one dev who got tired of manual qm configs.
If it saved you time, a coffee keeps it going:
⭐ Star this repo to help others find it.
⭐ Star History
Chart auto-regenerated from the GitHub stargazers API.
関連プロジェクトを探す
読み込み中…



