Jump to content

UseKernelCache and -f flag

6 posts in this topic

Recommended Posts



Can someone answer me this quick question.


I have UseKernalCache=Yes in cham.plist to speed up the boot process.


I just had a lock up and had to hard-reset. On trying to reboot it KP, something about zfscompression kext I think, or something like that.


So I tried booting up with -x, same thing, then I tried -f and it booted (long winded version). Then when I rebooted without -f, it worked as normal.


So does this sound like a corrupt kernelcache? Does using -f force a rebuild of the kernel cache?


Answers appreciated. Thanks

Link to comment
Share on other sites

As far as I know, -f just bypasses the cache?


Here's how to rebuild the cache on Lion, I suppose it's the same on Mountain Lion:


Trash the folder /System/Library/Caches/com.apple.kext.caches/Startup


Then rebuild the caches from Terminal like this:


kextcache -system-prelinked-kernel

kextcache -system-caches

  • Like 1
Link to comment
Share on other sites


  • Create New...