KVM-Opencore
KVM-Opencore
Our great sponsors
KVM-Opencore | KVM-Opencore | |
---|---|---|
36 | 4 | |
1,138 | 440 | |
- | - | |
2.8 | 0.0 | |
about 1 month ago | over 2 years ago | |
Makefile | ||
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
KVM-Opencore
-
Ventrua on Proxmox with GPU passthrough, Couldn't alloc class "AppleKeyStoreTest"
The EFI folder is the same as v20 here
- MacOS Ventura VM Safari not loading properly / rendering issue.
-
Ventura Installation: vm_shared_region_start_address() failed
Build v19 from u/thenickdude
-
Suggestions for VGA mode
#!/usr/bin/env bash # Special thanks to: # https://github.com/Leoyzen/KVM-Opencore # https://github.com/thenickdude/KVM-Opencore/ # https://github.com/qemu/qemu/blob/master/docs/usb2.txt # # qemu-img create -f qcow2 mac_hdd_ng.img 128G # # echo 1 > /sys/module/kvm/parameters/ignore_msrs (this is required) ############################################################################ # NOTE: Tweak the "MY_OPTIONS" line in case you are having booting problems! ############################################################################ MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check" # This script works for Big Sur, Catalina, Mojave, and High Sierra. Tested with # macOS 10.15.6, macOS 10.14.6, and macOS 10.13.6. ALLOCATED_RAM="7096" # MiB CPU_SOCKETS="1" CPU_CORES="8" CPU_THREADS="8" REPO_PATH="." OVMF_DIR="." # shellcheck disable=SC2054 args=( -enable-kvm -m "$ALLOCATED_RAM" -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$MY_OPTIONS" -machine q35 -usb -device usb-kbd -device usb-tablet -smp "$CPU_THREADS",cores="$CPU_CORES",sockets="$CPU_SOCKETS" -device usb-ehci,id=ehci # -device usb-kbd,bus=ehci.0 # -device usb-mouse,bus=ehci.0 -device nec-usb-xhci,id=xhci -global nec-usb-xhci.msi=off # -device usb-host,vendorid=0x8086,productid=0x0808 # 2 USD USB Sound Card # -device usb-host,vendorid=0x1b3f,productid=0x2008 # Another 2 USD USB Sound Card # -device vfio-pci,host=3:00.0,bus=pcie.0 -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -drive if=pflash,format=raw,readonly=on,file="$REPO_PATH/$OVMF_DIR/OVMF_CODE.fd" -drive if=pflash,format=raw,file="$REPO_PATH/$OVMF_DIR/OVMF_VARS-1024x768.fd" -smbios type=2 -device ich9-intel-hda -device hda-duplex -device ich9-ahci,id=sata -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file="$REPO_PATH/OpenCore/OpenCore.qcow2" -device ide-hd,bus=sata.2,drive=OpenCoreBoot -device ide-hd,bus=sata.3,drive=InstallMedia -drive id=InstallMedia,if=none,file="$REPO_PATH/BaseSystem.img",format=raw -drive id=MacHDD,if=none,file="$REPO_PATH/mac_hdd_ng.img",format=qcow2 -device ide-hd,bus=sata.4,drive=MacHDD # -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 -netdev user,id=net0 -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # Note: Use this line for High Sierra -monitor stdio -device VGA,vgamem_mb=128 ) qemu-system-x86_64 "${args[@]}"
- Proxmox Bootloop macos 13
- MacOS KVM GPU Passthrough Hangs
-
Catalina on the desktop proxmox?
If that's my OpenCore ISO, I rechecked High Sierra recently with v18 and it boots fine.
-
Bare Metal vs Virtualization dual boot
The mid/hard way would be to have a powerful PC like I did recently, switch to Linux as the host, and use it as your main OS and then for specific stuff, turn on the Windows or OSX machines. The problem here is that you have to deal with Linux and its quirks... editing files with the terminal, sudo, setting up QEMU, editing the libvirt XML files (or create your own bash scripts for QEMU) and so on... It feels like a hassle sometimes, and getting OSX to work in a virtual environment is a hit or miss - there's a few projects out there that can help) but then getting them to work is like running a command and having it contained in its own "window" and you can also share files between the host and the VM almost seamlessly.
- Windows 10 on MacOS Host?
-
anyone able to boot big sur on coreboot/tianocore? i get reboots maybe because of bad dsdt in coreboot
What are you using to create VM? You don't need to configure these two: macOS Simple KVM OpenCore KVM
KVM-Opencore
-
Tryng to boot MacOS Monterey on FreeBSD 13R + Bhyve...
#!/usr/bin/env bash # Special thanks to: # https://github.com/Leoyzen/KVM-Opencore # https://github.com/thenickdude/KVM-Opencore/ # https://github.com/qemu/qemu/blob/master/docs/usb2.txt # # qemu-img create -f qcow2 mac_hdd_ng.img 128G # # echo 1 > /sys/module/kvm/parameters/ignore_msrs (this is required) ############################################################################ # NOTE: Tweak the "MY_OPTIONS" line in case you are having booting problems! ############################################################################ MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check" # This script works for Big Sur, Catalina, Mojave, and High Sierra. Tested with # macOS 10.15.6, macOS 10.14.6, and macOS 10.13.6. ALLOCATED_RAM="4096" # MiB CPU_SOCKETS="1" CPU_CORES="2" CPU_THREADS="4" REPO_PATH="." OVMF_DIR="." # shellcheck disable=SC2054 args=( -enable-kvm -m "$ALLOCATED_RAM" -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$MY_OPTIONS" -machine q35 -usb -device usb-kbd -device usb-tablet -smp "$CPU_THREADS",cores="$CPU_CORES",sockets="$CPU_SOCKETS" -device usb-ehci,id=ehci # -device usb-kbd,bus=ehci.0 # -device usb-mouse,bus=ehci.0 -device nec-usb-xhci,id=xhci -global nec-usb-xhci.msi=off # -device usb-host,vendorid=0x8086,productid=0x0808 # 2 USD USB Sound Card # -device usb-host,vendorid=0x1b3f,productid=0x2008 # Another 2 USD USB Sound Card -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -drive if=pflash,format=raw,readonly=on,file="$REPO_PATH/$OVMF_DIR/OVMF_CODE.fd" -drive if=pflash,format=raw,file="$REPO_PATH/$OVMF_DIR/OVMF_VARS-1024x768.fd" -smbios type=2 -device ich9-intel-hda -device hda-duplex -device ich9-ahci,id=sata -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file="$REPO_PATH/OpenCore/OpenCore.qcow2" -device ide-hd,bus=sata.2,drive=OpenCoreBoot -device ide-hd,bus=sata.3,drive=InstallMedia -drive id=InstallMedia,if=none,file="$REPO_PATH/BaseSystem.img",format=raw -drive id=MacHDD,if=none,file="$REPO_PATH/monterey.img",format=raw -device ide-hd,bus=sata.4,drive=MacHDD # -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 -netdev user,id=net0 -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # Note: Use this line for High Sierra -monitor stdio -device VGA,vgamem_mb=128 ) qemu-system-x86_64 "${args[@]}"
- Tryng to boot Mac OS X Monterey on FreeBSD 13R + Bhyve...
-
I really love using OpenCore Auxiliary Tools, so I wrote a little introductory guide
Does this guide solely focus on a bare metal install, or can I apply it to Hackintosh in virtual machines too? Used bare-metal for a few years but I’ve been trying to get a personalized kvm/OC config for my Monterey & Big Sur guests in proxmox 7. Both macOS versions boot and are decent but I do wish a host-setup like; https://github.com/johncolby/macOS-KVM. Instead of the more general approach; https://github.com/thenickdude/KVM-Opencore, https://github.com/Leoyzen/KVM-Opencore . Not to discredit either of them, I wouldn’t have a booting macOS without their guidance, but I’d like to tinker with it a bit further
-
Ryzen 5 3600 running macOS-Simple-KVM; how do I get all 12 threads?
8 cores x 2 threads (with 4 disabled) also works; See https://github.com/Leoyzen/KVM-Opencore
What are some alternatives?
macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
OC-Little-Translated - ACPI Hotpatches and Guides for the OpenCore Bootmanager. Enhance and fine-tune your system by adding devices and enabling additional features not covered in the OpenCore Install Guide.
AMD_Vanilla - Native AMD macOS via OpenCore
macOS-KVM - Streamlined macOS QEMU KVM Hackintosh configuration using OpenCore and libvirt
OSX-KVM - Personal fork for testing
QtOpenCoreConfig - Cross-platform GUI management tools for OpenCore(OCAT) [Moved to: https://github.com/ic005k/OCAuxiliaryTools]
vendor-reset - Linux kernel vendor specific hardware reset module for sequences that are too complex/complicated to land in pci_quirks.c
OSX_GVT-D - Guide to pass iGPU to MacOS KVM guest.
OpenCorePkg - OpenCore bootloader
proxmox-plugin - Use Proxmox virtual machines as agents in Jenkins.
OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
wacom-driver-fix - Fixes the Wacom Bamboo, Graphire, Intuos 1+2+3 and Cintiq 1st gen tablet drivers for macOS Catalina, Big Sur, Monterey (including M1 macs)