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.
Hi, I'm installing Slackware for the first time and I read in the guide that I should make an initrd and use the generic kernel. I did, and I thought that would make booting faster but it's actually slower by a couple of seconds. It takes about 40 secs booting from either kernel. Is this normal? Did I do something wrong? I'm so scared I'm going to mess something up because I'm not used to having to do so much stuff.
That's about normal.
You can edit /etc/lilo.conf and add the word "compact" at the top of the file (after the comments section). That will speed up the boot process somewhat.
First split that boot time into two parts - Kernel and the rest from Init. There is nothing much you can do to reduce the boot time of the kernel (except lilo compact line) and the rest since initrd is mainly slowed down by massive index rebuilding which can be disabled if you wish so. I however would not care about boot time at least on the desktop as it is once-a-day event. I have that 40 seconds to wait till I get the prompt.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
I've often wondered the same thing and wonder if anyone with the technical skill would take those parts of rc.M and that cause the delays and create some sort of run-once type script for them for first time boot after initial installation and then only run again when those parts referenced are updated/altered.
If I knew how to go about it I would probably have a go myself. Unfortunately my knowledge in that area is sitting at 0%.
Actually it would be fairly simple script that would store the cache updating result somewhere in a system and if the results are either missing (first boot) or out of date, the cache's would be rebuilt. Only question is to find out how to determine if the cached data is out of date or not. Anyhow with such a setup the script could run on every boot and would not consume more than couple of milliseconds to figure out whether to start update process or not.
I've often wondered the same thing and wonder if anyone with the technical skill would take those parts of rc.M and that cause the delays and create some sort of run-once type script for them for first time boot after initial installation and then only run again when those parts referenced are updated/altered.
If I knew how to go about it I would probably have a go myself. Unfortunately my knowledge in that area is sitting at 0%.
Quite honestly - who the h... cares how long it takes to boot and how impressive the boot-screens are?? (well, quite some few obviously see this as a problem).
So folks - how often do you boot? One of the huge advantages of linux is that it just goes and goes and goes and ... ya get the jist?? I had a server (runni ng slackware, what else?) that I didn't boot for 3 years - there were some unattended boots because of power-glitches (no ups!), but never more than a couple of times a year. I can't remember the last time I booted my primary desktop - probably in November sometime ...
So - if it takes 20 secs or 4 mins - I don't really care. It is not like that 'other OS' where rebooting is the order of the day.
Yeah, I get that, but that's running from a cron job, rather than when booting and whilst a valid and alternative way of completing said task is not what I had in mind.
Thanks for the suggestion though.
Quote:
Quite honestly - who the h... cares how long it takes to boot and how impressive the boot-screens are?? (well, quite some few obviously see this as a problem).
So folks - how often do you boot? One of the huge advantages of linux is that it just goes and goes and goes and ... ya get the jist?? I had a server (runni ng slackware, what else?) that I didn't boot for 3 years - there were some unattended boots because of power-glitches (no ups!), but never more than a couple of times a year. I can't remember the last time I booted my primary desktop - probably in November sometime ...
So - if it takes 20 secs or 4 mins - I don't really care. It is not like that 'other OS' where rebooting is the order of the day.
Just my 2c-worth ...
I to have a server running, so can't disagree there, but not so good for laptop users though, which I also have and just gets booted as needed.
Some of us don't have very much money and wives who say "what do you mean you left it on all night? Was it doing anything? No? Then switch it off when you finish."
Better a daily boot than a few days with no electricity.
Besides, since I put SSD drives in my machines, they boot real fast.
Last edited by salparadise; 01-17-2013 at 01:43 AM.
Reason: Spelling and gramma.
Yeah, I get that, but that's running from a cron job, rather than when booting and whilst a valid and alternative way of completing said task is not what I had in mind.
Rename the script to rc.housekeeping, move to /etc/rc.d, and run from within your rc.local as a background task.
Quote:
Quite honestly - who the h... cares how long it takes to boot and how impressive the boot-screens are??
Because many people shut down their systems at the end of the day. Electricity costs money.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.