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. iso file extension, this is actually a hard disk image. Prepare an OpenCore imageĭownload the file from the newest release in my repository (you need v19 or newer), 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 Ventura-full.img instead: cd scripts/ventura 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 Ventura 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 Ventura installer from Apple’s software distribution servers and build a Ventura-recovery.img file for you. Now in the Terminal, from the root of OSX-KVM, run: cd scripts/ventura 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 First step: Create an installation ISOĭownload my copy of the OSX-KVM repository using the download button, and unzip it:įirst we need to install some build requirements. Sometimes you can simply power-cycle the host to resync the TSCs (especially if your server has a high uptime). If you have a broken TSC, this is a possible workaround. Tsc: Marking TSC unstable due to check_tsc_sync_source failed clocksource: Switched to clocksource hpet kvm: SMP vm created on host with unstable TSC guest TSC will not be reliable Measured 3358870891203288 cycles TSC warp between CPUs, turning off TSC clock. On a broken host you’ll see: TSC synchronization : On a working host you’ll see: tsc: Refined TSC clocksource calibration: 3399.998 MHzĬlocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x31024cfe468, max_idle_ns: 440795307017 ns To check this, on Proxmox run: dmesg | grep -i -e tsc -e clocksource Since Monterey, your host must have a working TSC (timestamp counter), because otherwise if you give the VM more than one core, macOS will observe the skew between cores and panic when it sees time ticking backwards. Modern AMD CPUs also support AVX2 and should work with this guide. Note that the AMD graphics card drivers won’t work in this situation, and other apps that assume AVX2 is present could break too! Please see the CryptexFixup readme for details. However, I have added the CryptexFixup kext to work around this restriction and allow Ventura to be used even on CPUs that don’t have AVX2 support (and merely support SSE 4.2 and AVX1). Ventura now requires that your CPU has support for AVX2, so for Intel your CPU would have to be at least as new as Haswell. You also need a real Mac available in order to fetch the OSK key. I’ll assume you already have Proxmox 7.2 installed. You can get the full sourcecode of my OpenCore release on my GitHub here. This tutorial for installing macOS 13 Ventura has been adapted for Proxmox from Kholia’s OSX-KVM project and Leoyzen’s OpenCore configuration for KVM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |