Jump to content
20 posts in this topic

Recommended Posts

Anyone got any tips for speeding up boot times in 10.8.2

Using a sata hard drive Windows and Ubuntu both take 27sec but ML is taking 62sec.

I have tried use kernel cache = yes but the time remains the same and I lose my trackpad.

I've read about using some Snow leopard kexts but I think that broke after10.8.1

Mike

Link to comment
https://www.insanelymac.com/forum/topic/286948-solved-speeding-up-boot-time/
Share on other sites

Write on Terminal app this command:

sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions

Mine boots in 30sec on sata hdd. Check system boot in console and see which processes are taking the most time.

PS. I lose DVD drive when I use kernel cache. Haven't been able to fix it.

The Solution

 

It’s simple, really: force Lion or ML to rebuild the kextcache and use it to boot. The solution thread on InsanelyMac.com (one of many like it) contains a good explanation of what’s actually happening, but here’s the code to build the cache (Edit: to make OS X also build a cache for your /Extra/Extensions folder, add “/Extra/Extensions” to the code below):

sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions This *should* accomplish the same thing as setting the “kernelcache = yes” flag in com.apple.boot.plist. What does setting this flag do? Please note that many a contributor to the InsanelyMac.com forum has reported kernel panics resulting from using this flag, while others have reported Lion or ML booting fine (and quickly) but ignoring the kernel extensions placed in the /Extra/Extensions directory.

I have ONLY created the Extensions.mkext using the terminal code above; I HAVE NOT added the “kernelcache = yes” flag to com.apple.boot.plist.

The result? My machine now boots in seconds instead of minutes. That simple

  • Like 1

Well although this did shave 20sec off the boot time I had no trackpad :(

I had to delete the mkext to boot with trackpad.

I'm not sure which kext is responsible for it, I assume it must be a usb mouse driver or perhaps ps2 mouse driver as it does not show up in settings as a trackpad.

Whichever kext it is it is obviously not being added to the mkext whichever method I use.

I think this is also why I have trouble with it when I restart from Linux into osx.

Mike

hello

 

if u have all kext in system/library/extensions ...

 

run in terminal

 

sudo kextcache -prelinked-kernel

 

that rebuild u kernelcache and that is the proper way to run ML

 

copy from terminal the result of command and post

 

about u trackpad ... is a a ps2 kext , but u must know what brand is u trackpad.. sinaptics , elantech.. etc

 

and use a proper ps2 kext for it

 

good hack

  • 3 months later...

hello

 

if u have all kext in system/library/extensions ...

 

run in terminal

 

sudo kextcache -prelinked-kernel

 

that rebuild u kernelcache and that is the proper way to run ML

 

copy from terminal the result of command and post

 

about u trackpad ... is a a ps2 kext , but u must know what brand is u trackpad.. sinaptics , elantech.. etc

 

and use a proper ps2 kext for it

 

good hack

this is what happend when I use sudo kextcache -prelinked-kernel :

 

Kernel file /mach_kernel does not contain requested arch: i386

nvenet.kext - no dependency found for com.apple.driver.NVSMU.

nvenet.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)

nvenet.kext - no dependency found for com.apple.driver.NVSMU.

nvenet.kext - no dependency found for com.apple.driver.NVSMU.

Prelink failed for com.apple.nvenet; aborting prelink.

Failed to generate prelinked kernel.

 

 

 

 

 

Kernel file /mach_kernel does not contain requested arch: i386

nvenet.kext - no dependency found for com.apple.driver.NVSMU.

nvenet.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)

nvenet.kext - no dependency found for com.apple.driver.NVSMU.

nvenet.kext - no dependency found for com.apple.driver.NVSMU.

Prelink failed for com.apple.nvenet; aborting prelink.

Failed to generate prelinked kernel.

 

nvenet.kext is an Apple shipping driver, it's a plugin inside IONetworkingFamily.kext. It seems strange that it should cause trouble on a system where it's not even needed, it's a driver for nforce chipset ethernet.

Maybe it's an older version that has been patched - is this a retail install or was it done with a distro? No matter, try simply deleting it - it's totally safe to delete since you have no nforce ethernet hardware - assuming this is happening on the Gigabyte motherboard in your signature, of course.

 

Go to /System/Library/Extensions, right-click IONetworkingFamily.kext, click "show package contents" then go to Contents/PlugIns and trash nvenet.kext. Type your password when prompted. Then try rebuilding caches and the prelinked kernel again.

 

NVSMU.kext also ships with OS X - it's probably a driver for the system management unit on macbooks (and iMacs?) with nvidia chipset. Contrary to popular belief, It's not part of the nvidia video card drivers. You could simply delete this as well.

 

If you decide to update to 10.8.3 or .4 definitely download and run the full combo update instead of using Software Update. Both kexts will be restored but they should no longer cause any trouble.

  • Like 1

I use iATKOS , I already updated to 10.8.4 I'll try delete the kext and post the result, thanks

 

I try again and here is the result :

 

Kernel file /mach_kernel does not contain requested arch: i386, that's only cause ML is x64 kernel righr?  so Its working now thank you :)

×
×
  • Create New...