SPEEEEEDING up OS 10.3.2!!!
I was looking through the forum at maccentral... and I found this post, it sped up my powerbook's startup time like nothing eve; from 2 min. to 48 seconds!! Heres some clippings to make the reading easier... I'll also include the address of the post
http://forums.maccentral.com/wwwthre...b=5&o=14&part=
Quote:
I followed from Apple Discussions Board this advice:
"I think I have a fix for the slow startup. I was talking to Apple this morning, I was having exporting issues out of iPhoto. Long story short, it was a problem with my photo library and had to rebuild it. While I was waiting I asked Matt (the apple guy on the phone) if there was any thing we could do to get 10.3.2 to boot faster.
I noticed that it was much slower when I upgraded to 10.3.2. Matt told me to go into terminal and type:
sudo cp -p /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl/usr/sbin/
It asks you for your admin password.
You then reboot, and it still is slow. Then you reboot again and it's real fast. I think it's now faster than it was in 10.3.1.
Just wanted to share what worked for me.
My total boot time in my Pismo 500 is now 55 secs, down from 3 minutes. Aleluya.
Reason why it works:
BootCacheControl is called during the startup process to create a cache of files needed to boot (up to the point were the login window is displayed).
In the 10.3.2 version the executable is called from the /etc/rc script twice:
- BootCacheControl
- BootCacheControl tag
both times its called using a shell variable set in /etc/rc which points to /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl (and if this would not exist it would point to /usr/sbin/BootCacheControl.)
But there is another important call of the executable from the loginwindow process later:
- /usr/sbin/BootCacheControl autostop 15
Unfortunately the file /usr/sbin/BootCacheControl does not exist on a(ll) updated 10.3.2 system. Thecopy command above takes care of that problem.
I followed from Apple Discussions Board this advice:
"I think I have a fix for the slow startup. I was talking to Apple this morning, I was having exporting issues out of iPhoto. Long story short, it was a problem with my photo library and had to rebuild it. While I was waiting I asked Matt (the apple guy on the phone) if there was any thing we could do to get 10.3.2 to boot faster.
I noticed that it was much slower when I upgraded to 10.3.2. Matt told me to go into terminal and type:
sudo cp -p /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl/usr/sbin/
It asks you for your admin password.
You then reboot, and it still is slow. Then you reboot again and it's real fast. I think it's now faster than it was in 10.3.1.
Just wanted to share what worked for me.
My total boot time in my Pismo 500 is now 55 secs, down from 3 minutes. Aleluya.
Reason why it works:
BootCacheControl is called during the startup process to create a cache of files needed to boot (up to the point were the login window is displayed).
In the 10.3.2 version the executable is called from the /etc/rc script twice:
- BootCacheControl
- BootCacheControl tag
both times its called using a shell variable set in /etc/rc which points to /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl (and if this would not exist it would point to /usr/sbin/BootCacheControl.)
But there is another important call of the executable from the loginwindow process later:
- /usr/sbin/BootCacheControl autostop 15
Unfortunately the file /usr/sbin/BootCacheControl does not exist on a(ll) updated 10.3.2 system. Thecopy command above takes care of that problem.
http://forums.maccentral.com/wwwthre...b=5&o=14&part=
Comments
anyone care to try it?
The first thing I thought when I read this was OMG!!11!! I read this thing on the internet!!! It made my penis grow 3 inches in 2 hours!!11!1!! OMG!!
sudo cp -p /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl/usr/sbin/
Er, I presume there needs to be a space befor /usr/sbin/ ...
My best bet is I don't restart my computer enough to justify adding something that Apple left out. If apple left it out I`m going to keep it that way on this call.
Originally posted by HOM
I distinctly remember reading something like this no more then a few hours ago, but it warned that doing this procedure may make upgrades difficult in the future. I just wish I could find a link.
http://forums.appleinsider.com/showt...threadid=35731
Originally posted by Eugene
Er, I presume there needs to be a space befor /usr/sbin/ ...
Yeah, there's a space to be found in the command line also quoted in the first post in the thread I link to above.
Early in the script it figures out where BootCacheControl is and then set a variable to it. After that there is no reference to it via a path.
BootCacheControl=/System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl
if [ ! -f $BootCacheControl ]; then
BootCacheControl=/usr/sbin/BootCacheControl
fi
if [ "${SafeBoot}" != "-x" -a -x "${BootCacheControl}" ]; then
${BootCacheControl} start
fi
Of course it's kind of dumb to have two copies of the same command in different places. The better method to fix a problem like this is to edit the rc file.
Of course it's kind of dumb to have two copies of the same command in different places. The better method to fix a problem like this is to edit the rc file.
That is probably the safer method as-well.
Originally posted by Scott
[B]I checked my /etc/rc file and there is no command for "/usr/sbin/BootCacheControl"
if [ "${SafeBoot}" != "-x" -a -x "${BootCacheControl}" ]; then
${BootCacheControl} start
fi
And
if [ "${SafeBoot}" != "-x" -a -x "${BootCacheControl}" ]; then
${BootCacheControl} tag
fi
Later on in the script.
Also the original post said that loginwindow called the BootCacheControl executable that is in /usr/sbin/ and expects it to be there.
Originally posted by Ichiban_jay
yes, but after the 2nd boot, all the rest boots are much much faster at the same constant speed.
So I guess, in the limit, your boot time -> zero