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.
Could you perhaps quantify your current boot time, and your hardware setup (cpu speed, number cpus, memory and hard disk size and type)? You might already be as fast as it can go. And how often do you really boot up ? I have a laptop, which boots in about 3 seconds - how ? - simply because it practically never actually boots, but just comes out of suspend mode. Do I care how long it would take to actually boot on the rare occasion that I switch it off - not a chance in hell !
I have a laptop, which boots in about 3 seconds - how ? - simply because it practically never actually boots, but just comes out of suspend mode. Do I care how long it would take to actually boot on the rare occasion that I switch it off - not a chance in hell !
Don't forget to use JFS with TRIM, and try to shift the maintenance commands into a runscript to fork to the background, or drop them into a cronjob.
Someone here posted a tip on how to do such things, try the Search feature and search GazL's(?) posts for the script hint. It works very well.
rc.modules is needed to load several hardware setups in the background. Don't thinker with it. You should however delete the older rc.modules-3.10.7 and relink the rc.modules symlink to the newer 3.14.33 version.
You should keep rc.syslog enabled though in case of application problems.
You could also install runit from SlackBuilds and run it through inittab and create runscripts to replace the bsdinit service scripts used by Slackware though it will take some work to get dependencies checked and corrected, it can be done very well.
But yes, hibernation and sleep modes help too, otherwise don't worry about it.
For the fastest boot up you could just suspend your system instead of shutting down.
For increasing boot speed without suspending, just disable (chmod -x) scripts in /etc/rc.d that you don't need running. You can also edit 'rc.M' and comment out some of the slower parts or add an '&' after them to background them. You can also rewrite the rc.d scripts in ash, which I have done. This should cut the boot time in half. If that's acceptable try it, I can post my ash scripts, I believe there are also some posted by others if you search this forum.
I've attached the scripts that I converted. Some things in rc.M are commented out, but can be uncommented and they should work. I removed the LUKS code that used arrays in rc.S. I don't even use LUKS, so someone will have to write that without arrays if they need it. Or it can be written in a separate bash script.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
Quote:
Originally Posted by metaschima
I removed the LUKS code that used arrays in rc.S. I don't even use LUKS, so someone will have to write that without arrays if they need it. Or it can be written in a separate bash script.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
Quote:
Originally Posted by metaschima
It doesn't seem to be attached or linked anymore.
Yes, I noticed that, too. But if you ask, I think you might be able to get hold of a copy of the source. Maybe I still have a copy on m own laptop, but I cannot check it right now
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.