[Tutorial] Fix "error loading kernelcache" on Burned/Restored Lion DMG

Discussion in 'Mac OS X Lion (10.7)' started by Quad5Ny, Aug 22, 2011.

  1. Quad5Ny macrumors 6502a


    Sep 13, 2009
    New York, USA
    How to copy the App Store Lion DMG to a Thumb Drive & modify it to boot on picky (64-bit) Mac's/Hackintosh's:

    1. Plug in ==/>5GB thumb drive
    2. Open Disk Utility and setup the thumb drive:
      • Name: Mac OS X Install USB
      • Format: Mac OS X Extended
      • Partition: 1 Partition
      • Partition Map: Apple Partition Map
    3. Mount InstallESD.dmg from the App Store Lion installer
    4. Mount /Mac OS X Install ESD/BaseSystem.dmg
    5. Inside Disk Utility Restore the BaseSystem to your thumb drive:
      • Source: Mac OS X Base System
      • Destination: Mac OS X Install USB
      • *Uncheck Erase Destination*
    6. Open Terminal and type:
      • cp "/Volumes/Mac OS X Install ESD/kernelcache" "/Volumes/Mac OS X Install USB/kernelcache"
    7. Edit /Mac OS X Install USB/Library/Preferences/SystemConfiguration/com.apple.Boot.plist and add:
      • <key>Kernel Cache</key>
    8. In Terminal type:
      • sudo rm "/Volumes/Mac OS X Install USB/System/Installation/Packages"
      • sudo cp -R "/Volumes/Mac OS X Install ESD/Packages" "/Volumes/Mac OS X Install USB/System/Installation/Packages"

    You should now have a Lion install thumb drive bootable on any (64-bit) Mac or Hackintosh. You could also copy this to a new DMG or DVD.

    Original info from: http://www.sysprobs.com/create-bootable-lion-os-installer-image-vmware-windows-intel-based-computers
  2. Arkious macrumors 6502a


    Mar 14, 2011
    Newcastle, UK
    Hi there,

    i am following this guide;


    and it asks me to do the same as your asking i.e.

    <key>Kernel Cache</key>
    to /Volumes/lionUSBinstaller/Library/Preferences/SystemConfiguration/com.apple.Boot.plist

    but i do not know how exactly to put this as simple as it sounds. i have it like this;

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <key>Kernel Flags</key>
    <key>Kernel Cache</key>

    is that correct? i am yet to get my "hackintosh" to install lol

    thanks very much


    DUR... i should read everything before posting next time, i see it explains in the link. thanks very much :)

Share This Page