PDA

View Full Version : Speed up your 10.3.2 Boot Time




Wes
Jan 3, 2004, 10:38 AM
Easily, really. Apple just 'forgot' something... Enter this into the terminal:

sudo ln -s /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl /usr/sbin/BootCacheControl

After doing it, you'll have to restart at least twice to see the effect. (Explanation: Mac OS X expects the BootCacheControl in /usr/sbin/, but Apple has either put it into the wrong place or it isn't automatically created.) This macosx.com thread lays out how it works and what to do. (But you can really just do what the bold line says.)

(I have run this but haven't gone through the required two boots for it to take effect)



raiderz182
Jan 3, 2004, 10:41 AM
cool

herrmill
Jan 3, 2004, 12:22 PM
I works very well once you've completed your restarts. :D

Now if I can only find out why I have some many crashes on Safari...

15.2 1.25ghz PB, 512 RAM

Bmode
Jan 4, 2004, 12:32 AM
Sorry, I've never used Terminal.

Enter the text then what? Do I overwrite the exsisting text? Save it as what and where? Main window? Open this file when Terminal starts up?

thanks.

slipper
Jan 4, 2004, 02:50 AM
pardon me but this noob needs help. i went thru the procedures and it took me to a screen with a whole bunch of scripts and the last line reads...'logout [process completed]'. now i restart the computer twice correct? well i restarted twice and it didnt seem to speed up anything.

Wes
Jan 4, 2004, 03:13 AM
The process is this, copy the above text.

Go to Applications, Utilities, Terminal

It'll say something like:

Last login: Sat Jan 3 17:06:12 on ttyp1
Welcome to Darwin!
[Your-Computer:~] Yourname%

Then just paste the text (Command-v) and press enter, wait a second and quit terminal, all done.

Bmode
Jan 4, 2004, 03:14 AM
Slipper... It sounds like you do as well?

Thank you Wes, your gentleman and a scholar.

Wes
Jan 4, 2004, 03:37 AM
Sadly, I forgot one crucial part, it will ask you for your password, type it in, press enter, then quit.

:rolleyes: THAT will do it

edesignuk
Jan 4, 2004, 06:13 AM
Wes, if this stuffs up my Mac in any way I'm coming for you! :eek: :D

encro
Jan 4, 2004, 06:58 AM
Note that there should be a space inserted right before /usr/sbin/BootCacheControl

so it should look like this (one line):
sudo ln -s /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl /usr/sbin/BootCacheControl
[Press Return]
Enter Password at request.

DaveTheGrey
Jan 4, 2004, 07:42 AM
it works great !
thank u ! :D

Dave out.

tj2001
Jan 4, 2004, 10:12 AM
I ran the command, exited terminal and restarted back 2 back... seems to work flawlessly! I definitely seen the boot time increase!

Thanks :D

edesignuk
Jan 4, 2004, 10:16 AM
Lucky for you Wes boi, it seems to have worked, you can stop looking over your sholder now :eek: ;) thx mate :)

Wes
Jan 4, 2004, 10:18 AM
Great to hear all these positive replies :).

1300th Post!

slipper
Jan 4, 2004, 12:17 PM
wes you are them man, thank you very much

blueflame
Jan 4, 2004, 12:59 PM
yo, i restarted, and it brought me to a command line, no clean bootup, i was stuck, then i typed logout, and it started into mac OS.
i want it back to the pretty way, where i dont have to click anything, and its pretty gui not terminal style. please how do i undo this
thanks
Andreas

neoelectronaut
Jan 4, 2004, 03:45 PM
I dunno about any of that stuff, but I did install this sucker.

http://www.macupdate.com/info.php/id/13672

I haven't restarted my computer yet to see if it made any difference though. :-P

mac15
Jan 4, 2004, 05:57 PM
just a warning, you need to revert this when future security and and OS updates arrive

neoelectronaut
Jan 4, 2004, 06:36 PM
Yeah, the installer also doubles as an UNinstaller. I saved it in my home folder for future use.

dornball
Jan 4, 2004, 07:19 PM
yeah, this really improved my total start up time. it hink it went from 1:20 (from sound to desktop) to about 45 seconds.

wow.

-dornball

neoelectronaut
Jan 4, 2004, 07:27 PM
The application I posted or the terminal stuff?

stoid
Jan 4, 2004, 07:52 PM
I went from almost 2 minutes, to just over 1 minute!! YAY!

dornball
Jan 4, 2004, 07:53 PM
Originally posted by neoelectronaut
The application I posted or the terminal stuff?

the terminal stuff. it worked great.
though i confess, that i don't know how to "undo" it. which it seems like i will need to know how to undo it in order to move on to 10.3.3.

-dornball

beefcake
Jan 4, 2004, 08:55 PM
very nice

now I just need a terminal command to make my computer run cooler without the fan coming on

/usr/lawsOfThermoDynamics/off

Johnboy
Jan 4, 2004, 09:06 PM
OK, Now how do I revert this back if i need to? Anybody know? It is faster but it seems like it is skipping doing some stuff. Is that the case or no? Is it skipping doing things that it should be doing. Just curious.

cb911
Jan 5, 2004, 02:32 AM
wow. :D sounds good, even though i try to re-boot as little as possible, but this should make re-booting a little bit more bearable. :p

btw, Wes, do you have the link for that original macosx.com thread that you talk about in your first post?

heljy
Jan 5, 2004, 03:52 AM
Originally posted by dornball
the terminal stuff. it worked great.
though i confess, that i don't know how to "undo" it. which it seems like i will need to know how to undo it in order to move on to 10.3.3.

-dornball

You can just remove the symbolic link:

sudo rm /usr/sbin/BootCacheControl

TheT
Jan 5, 2004, 06:11 AM
Originally posted by Wes
This macosx.com thread lays out how it works and what to do.
Which thread exactly? I don't wanna mess with my system and not be able to install future updates...

neoelectronaut
Jan 5, 2004, 06:23 AM
Just save yourself the time and effort and use the program instead of delving into the terminal. That way you don't screw anything AND you can easily reverse it when necessary.

edesignuk
Jan 5, 2004, 06:45 AM
MacOSX.com Thread (http://www.macosx.com/forums/showthread.php?t=39870&highlight=BootCacheControl), is it really that hard to go there and do a quick search? :rolleyes:

Riot_Mac
Jan 6, 2004, 12:06 AM
Thank you. It works great, cut my start up time in almost half!

Powerbook G5
Jan 6, 2004, 12:52 AM
Wow, now 10.3.2 actually boots up faster than 10.3.1 did. The circle went from spinning 22 times under 10.2.7 Jaguar to 16 times under 10.3.1 to 28 times under 10.3.2 to 12 times after that fix. I am definitely happy about that, it was a nagging issue that bugged me about the 10.3.2 update that bootup and system cache speed both seemed slower by a lot.

FredAkbar
Jan 6, 2004, 01:34 AM
Thanks...went from over a minute (black screen to desktop-showing) to about 35 seconds--see my sig for my computer specs.

huntsman
Jan 6, 2004, 09:48 AM
Originally posted by cb911
wow. :D sounds good, even though i try to re-boot as little as possible, but this should make re-booting a little bit more bearable.

I find the problem these days with rebooting isn't the amount of time it takes the computer to restart, but having to close all my applications and lose the (often quite specific) context I had in each of them.

So I think we have to be a little less tolerant of it. In the GNU/Linux community where I stayed for about a year, the idea of a reboot was indicative of weak design or poor development, and viewed with disdain. As a result, it's much more robust in that particular area.

Mattnh
Jan 6, 2004, 09:48 AM
Originally posted by encro
Note that there should be a space inserted right before /usr/sbin/BootCacheControl

so it should look like this (one line):
sudo ln -s /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl /usr/sbin/BootCacheControl
[Press Return]
Enter Password at request.

This one did miracles for my G4.
Thanx, good job!
All over performance seems to benefit from it. :)

jxyama
Jan 6, 2004, 02:15 PM
just to clarify...

what the command is doing is to create an link to:

/System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl

from:

/usr/sbin/BootCacheControl

my understanding is that on boot up, the system looks for

/usr/sbin/BootCacheControl

but the intended file is

/System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl

the bootup takes longer because the system can't find the file it wants.

so by creating the link, you can speed up this process.

sudo is required because it's an admin level operation.

ln -s creates symbolic link.

to "undo," simply erase the symbolic link,
/usr/sbin/BootCacheControl

as someone had posted.

no harm done to the system file it is linked to...

jero
Jan 7, 2004, 09:18 AM
yeah it makes my boot up faster. not superfast but noticibly faster.

im starting to like the terminal.

Pilgrims Pro
Jan 8, 2004, 08:15 PM
jxyama

Hey thanks a lot for the explanation. I am new to Macs and OSX, so excuse the nOOb question.

I found the terminal and followed the procedures to add that command. I rebooted a couple of times and it is simply an amazing difference.....but here is my question.

Exactly how do I delete the change???? I navigated all the way to the BootCacheControl, but I don't see the change in there. Thanks in advance.

neoelectronaut
Jan 8, 2004, 08:36 PM
Well, I didn't really notice it load any faster, but when I rebooted last night and the OS came back up, the uptime in menubar program said 32 seconds...so wow, that must be good. :-)

markjones05
Jan 10, 2004, 09:23 AM
good stuff.

I went from a 55 second bootup time from sound of GONG to 35 seconds.

Thanx.

mico
Jan 10, 2004, 10:04 AM
Just Entered fix in terminal and wit worked great but to revert back should it be:sudo rm -f /usr/sbin/BootCacheControl

or:sudo rm /usr/sbin/BootCacheControl


Thanks