Skip to content

Instantly share code, notes, and snippets.

@bryan-bar
Created December 19, 2021 07:26
Show Gist options
  • Save bryan-bar/735c17a2fdede47b99cd72fa63bd45f3 to your computer and use it in GitHub Desktop.
Save bryan-bar/735c17a2fdede47b99cd72fa63bd45f3 to your computer and use it in GitHub Desktop.
Monterey Hackintosh w/ QEMU/KVM

OSX KVM Guide from kholia used w/ OPTIONAL installation section

ovmf code and vars need to be found by qemu in set path otherwise it will throw permission errors

mv ./OSX-KVM/OVMF_CODE.fd /usr/share/edk2/ovmf/OVMF_CODE.bigsur.fd ln -s /usr/share/edk2/ovmf/OVMF_CODE.bigsur.fd /usr/share/OVMF/

xml must be updated with correct paths

Once started, format disk for macOS, there will be 3 partitions, so choose the largest if unsure

Re-install OS, download might take a while (said 3-4hrs, then jumped to 13 mins around 1 hr in)

Login was unsuccessful so I created an account first and followed the steps below.

New account created to avoid blacklisting my other accounts and logged into an apple device as a secondary account, otherwise, might have to call apple support according to guides

Mount EFI to get to config.plist

sudo diskutil mount EFI cd /Volume/EFI/EFI/OC/ vi config.plist

post installation networking skipped for below

Apple services need SMBIOS. Guide by dortania

GenSMBIOS tool used within MacOS (using gpu so valid options with #3 are MacPro1,1 #amount_to_list or MacPro7,1 #amount_to_list) *used MacPro7

"We're sorry, but this serial number isn't valid"

** error message for an unused serial number might not appear exactly like this. Instead might say it is unable to check and to contact support

Fixing En0 with hackintool, guide says to dump file but you can copy PCI > Device Path

My macVM listed vmxnet3 without the builtin checkmark

added to config.plist

<key>DeviceProperties</key>
<dict>
  <key>Add</key>
  <dict>
  ...
    <key>PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x2,0x0)</key>
    <dict>
      <key>built-in</key>
      <data>
      01
      </data>
    </dict>
  </dict>
  ...
</dict>

Working with iMessage, AppStore,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment