Skip to main content

How to rebuild cache and repair permissions of kexts in a Hackintosh

After installing 3rd-party kexts in /Library/Extensions, or replacing vanilla kexts with patched kexts in System/Library/Extensions, you may want to repair their permissions and rebuild the kext cache to ensure they work as intented. Here's how.

Repair permissions in /S/L/E (System/Library/Extensions) and /L/E (Library/Extensions) folders

Type each of the following commands (separately) in Terminal:
  • sudo chmod -Rf 755 /S*/L*/E*
  • sudo chmod -Rf 755 /L*/E*
  • sudo chown -Rf 0:0 /S*/L*/E*
  • sudo chown -Rf 0:0 /L*/E*


Rebuild Kext Cache

Type the following command in the Terminal:
  • sudo kextcache -i /
Restart your computer for the repairs to take effect.

Disclaimer: The content provided in this article is for informational purposes only. You are solely responsible for verifying the information as being appropriate for your personal use.

Popular posts from this blog

How to properly install kexts in a Hackintosh

In one of our previous articles we explained what are kexts and where they are stored . Here are a few different ways to install them. We also show how to repair permissions and rebuild the kext cache.

NVIDIA Web Drivers Mojave Workaround

It is still uncertain when will NVIDIA release any Web Drivers for macOS Mojave, but we can try a workaround.