Contribute
Register

Rebuilding Kernel Cache in Catalina

Status
Not open for further replies.
Joined
Feb 28, 2013
Messages
307
Motherboard
Asus ROG Strix Z590-E
CPU
i7-11700
Graphics
RX 6600
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac mini
  4. Mac Pro
Mobile Phone
  1. Android
  2. iOS
All - I spent several days trying to figure out how to rebuild the kernel cache since upgrading to Catalina. I finally found the information hidden in another thread. I am hoping this information will help others.

To Rebuild Kernel Cache & Fix Permissions then restart.

"I forgot to mention that since Catalina now moved macOS main file system to read-only mode you first need to run these commands in the Terminal to

Disable Gatekeeper and mount file system in read/write mode:
Code:
sudo spctl --master-disable
sudo mount -uw /
sudo killall Finder
Repair permissions & rebuild kernel cache:
Code:
sudo chown -v -R root:wheel /System/Library/Extensions
sudo touch /System/Library/Extensions
sudo chmod -v -R 755 /Library/Extensions
sudo chown -v -R root:wheel /Library/Extensions
sudo touch /Library/Extensions
sudo kextcache -i /
Alternatively you can use Hackintool which does this among other things: Hackintool read this guide"

Thanks to SchillerRZ

Original Thread:

 
Thanks for the guide. Is there any risk to mess my installation up doing these? Thanks again!
 
@brucew14 It shouldn't mess up the installation
I can confirm the commands resolved my issues
 
All - I spent several days trying to figure out how to rebuild the kernel cache since upgrading to Catalina. I finally found the information hidden in another thread. I am hoping this information will help others.

To Rebuild Kernel Cache & Fix Permissions then restart.

"I forgot to mention that since Catalina now moved macOS main file system to read-only mode you first need to run these commands in the Terminal to

Disable Gatekeeper and mount file system in read/write mode:
Code:
sudo spctl --master-disable
sudo mount -uw /
sudo killall Finder
Repair permissions & rebuild kernel cache:
Code:
sudo chown -v -R root:wheel /System/Library/Extensions
sudo touch /System/Library/Extensions
sudo chmod -v -R 755 /Library/Extensions
sudo chown -v -R root:wheel /Library/Extensions
sudo touch /Library/Extensions
sudo kextcache -i /
Alternatively you can use Hackintool which does this among other things: Hackintool read this guide"

Thanks to SchillerRZ

Original Thread:


Thanks - this was really helpful to me today!

Does Gatekeeper revert to read-only mode after a reboot?
 
Status
Not open for further replies.
Back
Top