AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() Ensure the args are all on a single line!įor Proxmox 7 with QEMU 6.1 or newer, also add “ -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off”. Add this line, being sure to substitute the OSK you extracted earlier into the right place: args: -device isa-applesmc,osk="THE-OSK-YOU-EXTRACTED-GOES-HERE" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2Ī USB keyboard is added here because macOS doesn’t support QEMU’s default PS/2 keyboard. First, SSH into your Proxmox server so we can make some edits to the configuration files.Įdit /etc/pve/qemu-server/nf (with nano or vim). In the Hardware page for the VM, add a second DVD drive at IDE0, set it to use your BigSur-full.img or BigSur-recovery.img.ĭon’t try to start the VM just yet. In the Options page for the VM, ensure that “use tablet for pointer” is set to “Yes”. Choose VMWare vmxnet3 for the network model.Set the number of cores for the VM, use a power of two (e.g.Set the size of the hard disk (64GB or greater, 32GB is too small).On Proxmox 7 you must untick “pre-enroll keys” Set graphics to “VMWare Compatible”, set BIOS to OVMF (UEFI), set Machine to Q35, tick QEMU Agent, tick Add EFI Disk and pick storage for it.Select the OpenCore ISO you uploaded and set OS type to “Other”.Make a note of it.Įvery Mac uses the same OSK, so don’t be surprised that it doesn’t look like a random string! Create the VMįrom the Proxmox web UI, create a new virtual machine as shown below. It’ll print out the 64 character OSK for you. Gcc -o smc_read smc_read.c -framework IOKit In a command prompt, change into the same directory as that file and run: xcode-select -install # If you don't already have gcc Save the first block of C code from this page as smc_read.c. You can get around this by reading an authentication key out of your real Mac hardware (the OSK key). MacOS checks that it is running on real Mac hardware, and refuses to boot on third-party hardware. (You need v12 or newer for Big Sur 11.3 or newer) Fetch the OSK authentication key iso file extension, this is actually a hard disk image. Prepare an OpenCore imageĭownload the file from the newest release in my repository (that says it’s Big Sur compatible), double click it to unpack it, and upload it to Proxmox’s ISO store at /var/lib/vz/template/iso. ![]() This option is not available when building the installer on Linux. Simply ask it to build BigSur-full.img instead: cd scripts/bigsur If you’re building the installer on macOS, you can build a full installer instead of just a recovery, which will mean that macOS won’t have to download Big Sur files during installation, and so won’t require an Internet connection. Although we’re putting it in the ISO directory so that we can use it with Proxmox’s ISO picker later, this a raw disk image rather than a true ISO. Upload this file to your Proxmox’s ISO store directory (typically /var/lib/vz/template/iso). This will download the Big Sur installer from Apple’s software distribution servers and build a BigSur-recovery.img file for you. Now in the Terminal, from the root of OSX-KVM, run: cd scripts/bigsur If you’re building the ISO on Linux, you instead need to run this command (these are the package names for Ubuntu or similar distributions, they may need adjustment on other distributions): sudo apt install qemu-utils make If you will be building the installer ISO on macOS, open up the Terminal and run this command to install the commandline tools: xcode-select -install ![]() Modern AMD CPUs also support SSE 4.2 and will work with this guide.ĭownload my copy of the OSX-KVM repository using the download button, and unzip it:įirst we need to install some build requirements. Older CPUs will cause the finder to repeatedly crash after installation completes (with an Illegal Instruction exception in the graphics code). Your Proxmox host computer’s CPU must support SSE 4.2, so for Intel your CPU must be at least as new as Nehalem, which was the first CPU generation to bear the “Core” i5/i7 branding. You also need a real Mac available in order to fetch the OSK key. I’ll assume you already have Proxmox 6 installed. You can get the full sourcecode on my GitHub here. This tutorial for installing macOS Big Sur using OpenCore has been adapted for Proxmox from Kholia’s OSX-KVM project and Leoyzen’s OpenCore configuration for KVM. MacOS 12 Monterey is now available! If you want to install that instead, check out my newer guide! Recovering lost GPG public keys from your YubiKey.Installing macOS 12 “Monterey” on Proxmox 7.Expanding the disk of your Proxmox macOS VM.Driving a 4-pin computer PWM fan on the BTT Octopus using Klipper.Installing macOS 13 Ventura Developer Beta on Proxmox 7.2.Installing macOS 13 Ventura on Proxmox 7.2.Fixing Xcode on Monterey under OpenCore Legacy Patcher.
0 Comments
Read More
Leave a Reply. |