Skip to content

Desktop notes

How to extract original kexts from an OS X install image

A quiet way to pull the original kernel extensions out of an OS X installer when a kext has been deleted or modified.

By Jozsef 2 min read

If you accidentally delete or modify a kext, this method helps you restore the original. The easiest route is a Time Machine backup. If you do not have a backup, the installer image still contains the files.

  1. Download the Mavericks image from the App Store.
  2. Install Pacifist from CharlesSoft.
  3. Open the installer package with Pacifist:
    text
    /Applications/Install OS X Mavericks.app/Contents/SharedSupport/OSInstall.mpkg
    
  4. Find and select the Extensions folder:
    text
    Contents of OSInstall.mpkg >
    Contents of EssentialSystemSoftware >
    Contents of EssentialSystemSoftwareGroup >
      Contents of BaseSystemBinaries.pkg >
        System >
          Library >
            Extensions
    
  5. Click Extract To in the toolbar and choose where to store the original extensions.

Keep the extracted folder somewhere safe. It is a small archive, and it has saved me more than once after an experiment went wrong.

Sources and further reading