Contribute
Register

Rebuilding Kernel Cache in Catalina

Joined
Feb 28, 2013
Messages
185
Motherboard
Gigabyte GA-Z77N-WIFI
CPU
i7 3770K
Graphics
NVIDIA GeForce GTX 770
Mac
  1. iMac
  2. MacBook
  3. 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:

 
Joined
Jan 16, 2020
Messages
13
Motherboard
asus
CPU
intel i5
Graphics
onboard
Thanks for the guide. Is there any risk to mess my installation up doing these? Thanks again!
 
Joined
Oct 4, 2016
Messages
8
Motherboard
Gigabyte GA-Z170N-WIFI
CPU
Intel Core i7-6700K
Graphics
Nvidia GTX 980
Mac
  1. MacBook Pro
@brucew14 It shouldn't mess up the installation
I can confirm the commands resolved my issues
 
Joined
Feb 5, 2020
Messages
69
Motherboard
Dell 9020 MT
CPU
i7-4790
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. 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 - this was really helpful to me today!

Does Gatekeeper revert to read-only mode after a reboot?
 
Top