Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not set cpuid for old versions like Yosemite #76

Open
superwushu opened this issue Oct 25, 2024 · 0 comments
Open

do not set cpuid for old versions like Yosemite #76

superwushu opened this issue Oct 25, 2024 · 0 comments

Comments

@superwushu
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant