Skip to content

do not set cpuid for old versions like Yosemite #76

@superwushu

Description

@superwushu

Created this issue just to share my explored steps to boot old OSX versions such as Yosemite or Lion, because other sources such as the original OpenCore and another OpenCore for KVM have shut down the issue channel... Hope this can save someone's time. It would be nice if @thenickdude can consider adding this to a note file.

Okay. Everything is pretty similar to boot up Catalina and newer OSX versions except two things:

  1. To create the installer image you need to download and install InstallMacOSX.dmg and convert it to /Applications/Install OS X Yosemite.app and run createinstallermedia. But it likely won't run on a newer macOS version. And this has to be done on a really supported macOS like Yosemite itself (fine, eggs or chickens ...). Some instructions suggest hacking this, i.e. pkgutil --expand, modify Distribution to remove the check for platform support and pkgutil --flatten. Do not try this as it would get you in two traps:

    1. createinstallermedia running on a newer macOS version would likely generate a corrupted media that cannot even boot. This can be worked around with some trick but you will fall in the 2nd trap:
    2. The OS X installer can boot up and you are happy to proceed. But it suddenly fails and warns the media has corrupted... Boom!
  2. Remove Cpuid1Data and Cpuid1Mask as below in config.plist.

    - <key>Cpuid1Data</key>
    - <data>
    - VAYFAAAAAAAAAAAAAAAAAA==
    - </data>
    - <key>Cpuid1Mask</key>
    - <data>
    - ////AAAAAAAAAAAAAAAAAA==
    - </data>

    Yosemite and older versions don't recognize some bits and kernel just reboots without any debug logs, very difficult to debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions