Skip to content

Instantly share code, notes, and snippets.

@wem3
Created March 7, 2015 02:47
Show Gist options
  • Save wem3/6bf43a3e40ce34df5aad to your computer and use it in GitHub Desktop.
Save wem3/6bf43a3e40ce34df5aad to your computer and use it in GitHub Desktop.
Fix kernelcache issue in Yosemite on X58A-UD3R hackintosh
#/bin/bash
# yo dogg, write code to do this (sed will work on a .plist, right?)
# open /usr/standalone/BootCaches.plist
# change "Izvn" on "Preferred Compression" key to ""Izss"
sudo -s
sudo kextcache -system-prelinked-kernel -all-loaded
sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext -z /System/Library/Extensions/
# via Victor Souza at http://www.hackintoshosx.com/files/file/4075-boot-usb-os-x-yosemite-chameleonpkg/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment