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.
I've switched from Ubuntu to Slackware since last month. Compared to Ubuntu, the boot time of Slackware seems to take more processes.
I turned on the boot text mode in Ubuntu and found that Ubuntu quickly loads into the kernel and eventually the GUI.
Slackware, however, starts with Loading Linux ... (followed by lots of dots) "BIOS Data Check successful", and finally boots into the kernel. Then it pauses at "mounting non-root partition" and "waiting for eth0". Ubuntu doesn't seem to need all this.
Is there a way to bring up the boot speed to that comparable to Ubuntu?
If you have an SSD it will scream even more - my system is a bit older (3 years) , so it does not support SSD M.2 - so I couldn't even imagine how much faster it would be .
I've switched from Ubuntu to Slackware since last month. Compared to Ubuntu, the boot time of Slackware seems to take more processes.
I turned on the boot text mode in Ubuntu and found that Ubuntu quickly loads into the kernel and eventually the GUI.
Slackware, however, starts with Loading Linux ... (followed by lots of dots) "BIOS Data Check successful", and finally boots into the kernel. Then it pauses at "mounting non-root partition" and "waiting for eth0". Ubuntu doesn't seem to need all this.
Is there a way to bring up the boot speed to that comparable to Ubuntu?
That's just one of the positive effects of using SystemD.
BUT, I strongly recommend you to avoid to comment about the SystemD technology in that Slackware forum.
Would be just like a Jehovah Witness going to preach in Mecca. If you are really lucky, you will be just beheaded (read: banned).
Speaking of the thing that should not be named, I actually found that Ubuntu-Mate on my Toshiba Satellite is actually slow as balls when it comes to booting up, even though it has a hybrid ssd drive.
Speaking of the thing that should not be named, I actually found that Ubuntu-Mate on my Toshiba Satellite is actually slow as balls when it comes to booting up, even though it has a hybrid ssd drive.
That's just a failing SATA link. Believe or not, an imperfect SATA cable, or even an dirty SATA slot, could make you to move the mouse, then smoke a cigar while drinking slowly a beer and finally you worth to look about the effect of your initial action...
Last edited by Darth Vader; 04-27-2017 at 06:21 PM.
Distribution: Slackware/Salix while testing others
Posts: 1,718
Rep:
1) switch from huge kernel to generic
2) play around with what is loaded in /etc/rc.d
3) dont start services you don't need.
4) Salix has a nice startup script that speeds up the boot, you can either use that or review it and modify to your liking
5) dont shut down unless necessary just resume from suspend
6) switch to openrc if desired
7) power on and go make some coffee, kiss wife, quick shag etc...
Is there a way to bring up the boot speed to that comparable to Ubuntu?
There are several ways of improving the boot speed. Before going through them all we'd have to be sure it really is that important to you. How many times a day do you boot up, and how long does it take?
There are several ways of improving the boot speed. Before going through them all we'd have to be sure it really is that important to you. How many times a day do you boot up, and how long does it take?
I usually turns on the computer twice to three times a day, and it takes a little longer than 90 seconds.
An in fact, it is all fine. I have a friends who uses Linux Mint and commented that Slackware boots slow.
But it seems that Slackware could be customized on which services to be started.
So I was wondering if there is a way to play around with the boot settings.
Distribution: Slackware/Salix while testing others
Posts: 1,718
Rep:
Quote:
Originally Posted by limpingstone
I usually turns on the computer twice to three times a day, and it takes a little longer than 90 seconds.
An in fact, it is all fine. I have a friends who uses Linux Mint and commented that Slackware boots slow.
But it seems that Slackware could be customized on which services to be started.
So I was wondering if there is a way to play around with the boot settings.
If you have an SSD it will scream even more - my system is a bit older (3 years) , so it does not support SSD M.2 - so I couldn't even imagine how much faster it would be .
Benchmarks have SSDs performing 7 times faster than HDs.
I've been using Linux for a long time and I have only found 2 things that noticeably improve performance.
1. Switching from a DE to iceWM which I did a long time ago.
2. Switching from a HD to SSD.
The SSD makes the system boot faster and launch programs faster. I use 2 drives, SSD on / and a larger HD on /home.
A couple years ago I switched to Slackware from Debian right around the time that shall not be named was invading Linux space. I wondered about the boot up time taking so long as well after having seen that shall not be named start my system in some ridiculously low time frame.
I quickly dismissed this issue after I saw how harmonious Slackware is for every day use.
Slackware and Ubuntu use different boot systems. Ubuntu's tends to boot quite a bit faster due to its boot system. There are a few things you can do to speed up your system, most of which has already been mentioned, but it is unlikely you'll get it to the same speed that Ubuntu has without some serious modifications to the boot scripts. Simply put, Slackware doesn't push for extremely quick boot times. The BSD-style init scripts Slackware uses value simplicity over speed. The scripts are relatively easy to read and modify (if you're familiar with bash scripting).
Uncommenting compact in your lilo (like Daedra mentioned) will speed up your kernel booting. It works on pretty much all modern computers, but it may not work on older computers (but we're talking probably pre-2000 computers).
Another thing you can do is to make sure all non-needed services aren't running. You can go through /etc/rc.d/ and make sure any services you aren't using aren't executable.
Theoretically, switching to the generic kernel should speed up the boot time, but I'm not sure it'd be that noticeable. However, Pat recommends running the generic kernel either way.
Finally, as mralk3 suggested, if boot time is important to you, it might be worth looking into using suspending or hibernation. While rebooting will still take long, it would lead to quick resuming, which I imagine would be good enough.
Is there a way to bring up the boot speed to that comparable to Ubuntu?
Define "comparable" first.
Ubuntu does a lot of things in parallel during init. Slackware doesn't.
Doing things in parallel can result in a huge speed-up as you've noticed. It can also (and I am not claiming that SystemD has this problem) result in some very difficult to track down bugs that exist on some systems but not on others.
How? If you don't express *all* the dependencies in the init order, you can end up with systems who are able to boot successfully simply because they do one of the boot services a little faster or slower than the systems that fail.
If you have a defined sequential boot order, you don't have *that* problem. You do have a slower boot.
Most of the time, a slower boot is not a big deal because you don't reboot that often. If you have a machine running a huge number of linux containers with a SLA requiring you to restart those puppies in 30 seconds, you care a lot about your boot times. If you launch docker instances on demand or something similar, you really want those things to come up right freaking 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.