You cannot mix -k and -m.
-k is kext repository cache
-m is mkext cache
Basically, mkext cache is used from the bootloader to help the kernel load files quicker.
kext repository cache is used by kextd to help it know which kexts to load.
The changeover happens when you see jettisoning kernel linker. Thats when kextd kicks in and uses the other cache file.
[Guide] Speed Up the boot time of Leopard Installation DVDs
Started by macgirl, Dec 09 2007 03:01 AM
44 replies to this topic
#21
Posted 05 January 2008 - 06:14 AM
#22
Posted 05 January 2008 - 06:24 AM
So Leopard could use Extensions.kextcache also?
#23
Posted 05 January 2008 - 07:19 AM
Anyhow, the good news is I got this to work!
Thanks a bunch for the help!
#24
Posted 05 January 2008 - 08:24 AM
macgirl, on Jan 5 2008, 05:24 PM, said:
So Leopard could use Extensions.kextcache also?
The 3 caches still exist in Leopard but they are named different things now.
/System/Library/Extensions.mkext - mkext cache
/System/Library/Extensions/Caches/com.apple.kext.info - kext repository cache
/System/Library/Caches/com.apple.kernelcaches/kernelcache - kernel cache
mkext cache and kext repository cache will have noticeable impacts over boot time of the DVD and minor speed boosts for the HD install. The kernel cache I can't see having much impact but it was pretty much added for the embedded devices (its a kernel with prelinked extensions) - used in Apple TV and iPod Touch and iPhone.
#25
Posted 14 February 2008 - 09:57 AM
This is for anyone wondering how to create the kext cache(i.e. on the +rw mounted install disc). Credits to the community!
kextcache -a i386 -m /Volumes/vol_name/System/Library/Extensions.mkext -v 1 /Volumes/vol_name/System/Library/Extensions/
kextcache -a i386 -m /Volumes/vol_name/System/Library/Extensions.mkext -v 1 /Volumes/vol_name/System/Library/Extensions/
#26
Posted 14 February 2008 - 05:25 PM
thanks macaroo
#27
Posted 24 February 2008 - 10:34 PM
For those that might be interested if you build the kextcache with -s -l -n (safe mode, local and network kexts) you can wipe the Extensions directory and gain 40 seconds or so in boot time:
kextcache -a i386 -l -n -s -m Extensions.mkext Extensions
With some other tricks its actually possible to get the DVD to boot in just over 2 mins.
kextcache -a i386 -l -n -s -m Extensions.mkext Extensions
With some other tricks its actually possible to get the DVD to boot in just over 2 mins.
#28
Posted 25 February 2008 - 04:45 PM
is possible to not include network kexts, and make it even faster?
Anyway, when isntalling is almost no necessary the network, well only if you are doing "remote installation" I presume.
Anyway, when isntalling is almost no necessary the network, well only if you are doing "remote installation" I presume.
#29
Posted 27 February 2008 - 08:48 AM
You need networking because for some bizarre reason Apple flagged the ramdisk driver as a network kext and its required for the DVD to boot.
#30
Posted 27 February 2008 - 07:18 PM
oh
thanks
#31
Posted 05 March 2008 - 06:51 PM
macgirl, on Dec 9 2007, 03:01 AM, said:
Sometimes the boot process is awfully slow, so I made this file:Extensions.mkext with the following steps to avoid the slow and boring wait.You only need to install this file in your DVD Image and burn it.Intel:http://www.mediafire.com/?b1dtwhvjiqzAMD:http://www.mediafire.com/?c0ew012fbxhhere is how:Erase the Extensions folder of your DVD Image, copy this file to System/Library and burn to a DVD.You will boot faster, less wait than the "retail" patched DVDsHere is how I created it:I mounted my BrazilMAC patched image of Leopard with readwrite ability, you can do that if you rename the ISO image to .cdr suffixthen I copied the contents of the Extensions folder to my Destop.cp -R /Volumes/Mac\ OS\ X\ Install\ Disc\ x86/System/Library/Extensions Desktop/Extensionsor by opening the containing folder and dragged it to the Desktopopen /Volumes/Mac\ OS\ X\ Install\ Disc\ x86/System/Library/then I make the cache with this on Terminal:sudo kextcache -a i386 -k -z -m Desktop/Extensions.mkext Desktop/ExtensionsI erased the Extensions folder from the mounted Image with the Finder or with this command on Terminal:rm -fr /Volumes/Mac\ OS\ X\ Install\ Disc\ x86/System/Library/Extensionsthen I copied the Extensions.mkext to the System/Library folder of the mounted image with Finder or wtih this command on Terminal:cp Desktop/Extensions.mkext /Volumes/Mac\ OS\ X\ Install\ Disc\ x86/System/Library/then I repaired the owner and group:sudo chown root:wheel /Volumes/Mac\ OS\ X\ Install\ Disc\ x86/System/Library/Extensions.mkextumount the image, burned it and tested it.Other advantages is that you have a faster boot DVD in case of emergencies or if you need to a handy Disk Utility or Terminal Apps.I am planning to do an AMD version for Prawker's method DVD and also test this one with TOH version of Intel and if the AMD version works with the ToH AMD This could work with other patched DVDs (for Intel of course), also you can do your own Extensions.mkext, but try it with DVD RW media or you could end with a lot of coasters
NOTE:I prefer to answer in this thread than by PM, if you have a question please post it here.Edit:I tested with BrazilMAC and ToH DVDs on my Dell XPS M1330.Edit2:AMD version. tested with Prawker's method and ToH with AMD ppf V2
#32
Posted 08 May 2008 - 01:39 AM
off topic but i have a kalway 10.5.1 install disc how do I add the 8800GT kexts and nvinjeckt 0.2.1 to it as well as the graphics update?, as they are all needed to otherwise when osx boots with the 8800gt I just get an error, tired of hot swapping with a 7600gt and installing nvinject/kexts/graphics update every time, my system is very small and it take about 40 minutes to swap the cards...
also can you not just burn the osx86 disc to say a BD-R as it has a faster read speed of 20MB/s?, yes I have a blu ray drive so will that work?
also can you not just burn the osx86 disc to say a BD-R as it has a faster read speed of 20MB/s?, yes I have a blu ray drive so will that work?
#33
Posted 13 August 2008 - 06:11 AM
wow posted on my bday gonna try this while makin my own distrubute
#34
Posted 06 September 2008 - 11:33 PM
is there any wat to speed up the boot time of osx after it is installed?
#35
Posted 07 December 2008 - 09:00 PM
tazs_10, on Sep 7 2008, 01:33 AM, said:
is there any wat to speed up the boot time of osx after it is installed?
yup. in my case my boot time went from 1:20 down to 0:40
it had to do with a IOKitWait delay. solution in this thread
http://forum.insanel...howtopic=138460
#36
Posted 13 June 2009 - 02:19 AM
I was wondering how long it normally takes to install. I have been stick at the apple screen with the loading icon for 30 minutes now and I was wondering if this was normal.
#37
Posted 31 July 2009 - 03:10 AM
#38
Posted 23 February 2010 - 06:26 AM
How do you go about adding this to an already made .iso file?
#39
Posted 13 April 2010 - 01:34 AM
Thank you!
#40
Posted 28 May 2010 - 08:13 AM
Thank you
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









