LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Ack! over two minute boot time! (https://www.linuxquestions.org/questions/slackware-14/ack-over-two-minute-boot-time-369378/)

evilmegaman 10-03-2005 10:27 AM

Ack! over two minute boot time!
 
Why does slackware 10.2 take so long to startup? I would like some tips one how to get it to have a much shorter boot time. It seems to kind of hang at the hotplug part. So any tips are appreciated. Thanks!

anomie 10-03-2005 11:26 AM

Well, are you really using the hotplug service? If not, you could always disable it.

Ahmed 10-03-2005 11:32 AM

Disable some services you're sure not to use (On runlevel 4 AND 3), that might help..

-A

Jeebizz 10-03-2005 01:13 PM

hotplug and ldconfig are the two services that take up the most time. I suggest before considering to disable hotplug, find out what modules are used for your hardware by issuing an lsmod and then make sure they are listed and uncommented in rc.modules, then issue the chmod -x /etc/rc.d/rc.hotplug command. You will have to reconfigure alsa once hotplug is disabled, just rerun alsaconf. As for ldconfig, I can't remember what startup script it is under, rc.3 or rc.4 one of those, and simply comment it out, and you can enter the script to ldconfig to one of your shutdown scripts instead, like rc.6 , or just run ldconfig manually after installing new programs.

One more thing, since you will disable hotplug, be sure that you will not be planning to add any new devices.

zeroz52 10-03-2005 02:08 PM

http://www.linuxquestions.org/questi...hreadid=369220

Check out the above thread I started. My boot time wasn't as high as yours though, but started the thread in hopes of getting help on how to tweak my system for optimum performance.

gnashley 10-04-2005 03:41 AM

Hotplug gets slower and slower as new 'agents'are added. Try installing the old hotplug package from Slack-10.0 -it's quite a lot faster than later versions.
Don't be fooled thinking that ldconfig takes a long time. It finishes and other things are happening, but there are no new prompts to replace the ldconfig line, so it LOOKS like ldconfig is still working, when, in fact, the scripts have moved along and done many more things...


All times are GMT -5. The time now is 03:50 AM.