stuppy_ Posted July 29, 2012 Share Posted July 29, 2012 Hi, 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 https://www.insanelymac.com/forum/topic/281181-usekernelcache-and-f-flag/ Share on other sites More sharing options...
Gringo Vermelho Posted August 1, 2012 Share Posted August 1, 2012 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 1 Link to comment https://www.insanelymac.com/forum/topic/281181-usekernelcache-and-f-flag/#findComment-1839540 Share on other sites More sharing options...
mendietinha Posted August 2, 2012 Share Posted August 2, 2012 i trash all the s/l/c and use kext utility after that. Link to comment https://www.insanelymac.com/forum/topic/281181-usekernelcache-and-f-flag/#findComment-1840363 Share on other sites More sharing options...
fastfwd Posted August 4, 2012 Share Posted August 4, 2012 Sadly that does not work for me. I have to boot without user cache. Link to comment https://www.insanelymac.com/forum/topic/281181-usekernelcache-and-f-flag/#findComment-1841083 Share on other sites More sharing options...
LatinMcG Posted August 4, 2012 Share Posted August 4, 2012 i wonder if he has .mkext in extra folder. Link to comment https://www.insanelymac.com/forum/topic/281181-usekernelcache-and-f-flag/#findComment-1841084 Share on other sites More sharing options...
fastfwd Posted August 4, 2012 Share Posted August 4, 2012 (edited) I have .mkext in extra, I will delete and move everything in extension to s/l/e and try that. It worked thanks! Edited August 4, 2012 by fastfwd 1 Link to comment https://www.insanelymac.com/forum/topic/281181-usekernelcache-and-f-flag/#findComment-1841092 Share on other sites More sharing options...
Recommended Posts