SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.