Recent | Online | Vintage | Modern | Win | Mac  OS9 | DOS | Amiga | Atari ST | Graphics | Midi io | Sequencers | Roland "MC" | E-mu | Ensoniq | Akai MPCs | Samplers | Akai "S" | Roland "S"Synths | VST Samplers | VST Synths | Roland "JV" | Modules | Drums | Mixers | Timeline | HackintoshArtists | Graphics

Welcome to Oldschooldaw.com! (Online since 2014) if you are human, Register & Login to gain more access to all boards here; Some guest permissions have been limited to reduce traffic from bots and encourage registration, while other Guest permissions have been added such as guest posting of attachments and guest responses to threads!

Author Topic: how to repair permissions + rebuild kext cache  (Read 2600 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisNova777

  • Underground tech support agent
  • Administrator
  • Posts: 9658
  • Gender: Male
  • "Vintage MIDI Sequencing + Audio Production"
    • View Profile
    • www.oldschooldaw.com | vintage audio production software + hardware info
how to repair permissions + rebuild kext cache
« on: July 12, 2020, 11:17:26 PM »
https://www.travelertechie.com/2019/02/how-to-rebuild-cache-and-repair.html

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:
Code: [Select]
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:
Code: [Select]
sudo kextcache -i /Restart your computer for the repairs to take effect.




https://osxlatitude.com/forums/topic/9961-how-do-i-repair-permissions-and-rebuild-the-cache-yosemite-and-later/

To repair permissions, type the following Terminal commands:
Code: [Select]
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*

To rebuild kextcache and prelinked kernel, type the following Terminal command:

Code: [Select]
sudo touch -f /S*/L*/E*
sudo touch -f /L*/E*
sudo kextcache -Boot -U /

Sometimes, the system returns an error message about not being able to modify/rebuild the cache and/or the prelinked kernel. In this case, the existing cache and prelinked kernel can be deleted using the following Terminal commands:

Code: [Select]
sudo rm -Rf /S*/L*/PrelinkedKernels
sudo rm -Rf /S*/L*/Caches/com.apple.kext.caches
The cache and prelinked kernel can then be rebuilt using the above touch and kextcache commands.