Jump to content

[Guide] Speed Up the boot time of Leopard Installation DVDs


  • Please log in to reply
44 replies to this topic

#21
Dense

Dense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
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.

#22
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
So Leopard could use Extensions.kextcache also?

#23
antaholics

antaholics

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 366 posts
  • Gender:Male
  • Location:Canada
I got around this by using another command I had been using to remake the system mkext file in Tiger... but it was troublesome because I had to rename my old Extensions folder, move the Leopard one in, make mkext, and restore everything back in its own place

Anyhow, the good news is I got this to work! :)

Thanks a bunch for the help!

#24
Dense

Dense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts

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
macaroo

macaroo

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
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/

#26
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
thanks macaroo

#27
Dense

Dense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
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.

#28
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
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.

#29
Dense

Dense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
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
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
oh :o thanks :rolleyes:

#31
shiv

shiv

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:India

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

hey can u please help me in getting that blue screen right after installing leopard......please reply.... iam having a compaqc755tu laptop with GMA X3100 ,GM965 chipset please help me....

#32
meansizzler

meansizzler

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
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?

#33
teknojunkie

teknojunkie

    InsanelyMac Legend

  • Donators
  • 829 posts
  • Gender:Male
  • Location:Corona, California USA
  • Interests:Computers, Coding, Skateboarding, Snowboarding, Video Games
wow posted on my bday gonna try this while makin my own distrubute

#34
WhatTheFiber

WhatTheFiber

    InsanelyMac Protégé

  • Members
  • PipPip
  • 77 posts
  • Gender:Male
is there any wat to speed up the boot time of osx after it is installed?

#35
zuz_242

zuz_242

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts

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
rix187

rix187

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
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
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 260 posts
  • Gender:Male
Visit My Website

#38
Mark7807

Mark7807

    InsanelyMac Protégé

  • Members
  • Pip
  • 25 posts
How do you go about adding this to an already made .iso file?

#39
brampower

brampower

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Thank you!

#40
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro
Thank you :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy