If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. **

Make Linux boot faster.

I recently posted in a thread were someone brought up the booting time of Linux. I assumed it would 'always' be slow (i.e. with present linuxes) but some people explained me that wasn't the case. So what I would like to see put together here is tips, tricks and tweaks y'all guys have to speed up your Linux boot. I for one disabled hardware discovery services, and lots of daemons I don't need, or ever will use.

So I have two things.
- disable discovery service (is this a daemon too btw?)
- disable unused daemons

I hope we can make this list waaaay longer . Thanks in advance for your input.

Sorry man but I'd like some serious input... I am running a fairly minimal Slackware-based distro (400 MB ISO) on 1.5 Ghz and higher systems, with 200 Mhz FSB (Athlon Xp's). So the distro itself is not the issue here.

If anyone might suggest recompiling the kernel, I'd like to know why, and what are the options that might gain you considerable time . I once optimized my kernel for K7 but honestly didn't notice much of it.

Re: Make Linux boot faster.

I for one disabled hardware discovery services, and lots of daemons I don't need, or ever will use.

So I have two things.
- disable discovery service (is this a daemon too btw?)
- disable unused daemons

I hope we can make this list waaaay longer . Thanks in advance for your input.

A light GUI can speed things up. Not the boot up itself, but on my laptop (which is a bit older), KDE takes over 15 seconds to start (from the login to a usable desktop), Xfce a bit over 5, Enlightenment about 3.

One question, though: how do you disable unused daemons? Go through the /etc/rcX.d directories and toss out anything which you don't need (cups comes to mind, as I use a laptop)?

edit: I might also mention a program I've heard of, bootchart, which visually shows you the boot up sequence so you can see what is taking a long time etc. Never used it, though.

You just disable a daemon by disabling the x bit: # chmod 666 /etc/rc.d/rc.hotplug for example. I have a Slackware-style system, but Zenwalk has a 'service' command. Then you just do # service disable [servicename] to disable the service.

As for a good GUI: I already have Xfce . And I like it very much. One of my main reasons to switch from KDE was actually speed & responsiveness...

As for distro: I'd like to stick to this one . So what I'm looking for is distro- & DE/Wm-independent tips to startup linux faster . Untill you get to the GUI that's loading, that is.

@ the guy dressed in black: I mentioned before I'm not wanting to switch distro's . Thanks for the input anyway.