Linux rarely needs to be restarted. But when it happens, it is often slow to boot. Fortunately, there are ways to speed up things up. Some of these methods is not very difficult. (Although some unfortunately). Let's take a look.
1.Disable unnecessary services
Depending on the use of the machine, plenty of services will not be necessary. Using Linux just for a desktop? So you do not need sendmail, httpd, and many other services. If your server is only a web server, you can turn off many services. To do this, go to Administration menu and take a look at the Services entry. Just deselect all the services you do not want to start.
2.Disable unnecessary kernel modules
If your computer is wired for Ethernet, you do not have a wireless kernel module loaded. This task is a bit more difficult and will require a kernel recompilation, which is not the easiest task to perform. To do this, you will need the kernel sources. Follow the standard steps to compile a kernel. The difference is that you will go through your system and disable all the modules you do not need.
The best way to find out what kernel modules currently install and run on your system is to install Boot Chart. Not only will this give you a good list of modules, it will illustrate for you what is happening in your system boot. You can also issue the command chkconfig-list | grep 3: on to find out what services are running. When you know what loading modules you do not, you can remove them during a kernel recompilation. While you're at it, compile kernel to exactly match your architecture.
3. Use a lightweight protocol window manager instead of GNOME or KDE
I plug smaller footprint window managers for a reason - they drastically reduce graphical boot time. Instead of having to wait that extra 30 to 60 seconds for GNOME or KDE to boot, why not wait two to 10 seconds for Enlightenment or XFCE to boot up? Not only will they save you boot time, they will save your memory and manage headache bloatware.
4. Use a text-based login instead of a graphical login
Most of my Linux machines boot to run level 3 instead of run level 5, this will stop the text-based login, where I only have to log in and issue startx to start my desktop choice. The graphic logins do two things: increase load times and create headaches trying to recover from an X windows fubar.
5. Use a lighter-weight distribution
Instead of loading Heavyweight Fedora, why not try a Gentoo, Arch, or puppy Linux? Boot times for these smaller distributions are far faster than the more bloated Fedora (and even Ubuntu). Of the larger distributions, openSUSE claims to start the fastest, but I have not personally tested this. Between the latest Fedora and Ubuntu, Ubuntu blows Fedora's boot times away (and it is out of the box).
Bookmarks