5 steps to a faster Linux boot

You don’t need to have a wireless kernel module loaded if you’re on Ethernet LAN. This task is complex and will require a kernel recompilation, which unfortunately is not the easiest task to accomplish.

Efficient Boot Time in Linux

Photo by Udo Herzog

Boot TimesDid you forget that on Linux?

We’ve seen and heard that Linux seldom faces a system halt or crash. Most of the people who have switched to Linux stay happy with the fact that they need not press the 3-button command to get the task manager every now and then, on their old machines. Linux has no doubt proved to be a blessing in disguise for machines which have limited hardware options and are low on resources.

This might indicate that a lot of geeks keep their boxes turned on for days(may be months in some cases!) However, for a normal use Linux machine, a daily boot would be pretty obvious.

We have seen a lot of tips and tricks to make Windows boot faster than before. Such recommendations have been popular and remarkably acknowledged across the world wide web. On similar grounds, we shall today try and figure out a few ways in which an average user can help reduce the boot time of a Linux box.

  1. Use a lightweight window manager: KDE and GNOME are no doubt the two most widely used window managers. But this, by no means shall mean that they’re the only option you have. Check out for a lot of options you have at your disposal. Based on your requirements, you may switch to a lighter window manager or desktop to help you get most out of the available hardware juice by drastically reducing the graphical boot time and memory consumption.
  2. De-select the unnecessary services: There are a lot of services running on the back ground, which you would be unaware of. A lot of them, you’d never need! If you’re using Linux just as a desktop, you would not need httpd, sendmail, etc. If you never use a bluetooth device, make sure you turn off the bluetooth service at startup. If you happen to use Linux just as a Web server, you can close a lot of services which a web server doesn’t need. You can see all the services and their roles at the Administration panel within the menu and take a look at the Services. Just disable all of the services you do not want to start automatically.
  3. Use a text based login in lieu of Graphical login window: Most of us love the graphical login window on Linux. However, for machines which are low on resource, there is an alternative - Text based login. The graphical login increases load times. Most of Linux machines boot to run level 3 instead of run level 5. This will probably halt at the text-based login, where you’ll just have to log in and issue startx to start the desktop of your choice.
  4. Use a lightweight Linux distro: Before deciding on the Linux distro, you need to check out the juice your hardware has. Instead of installing the bulky Fedora, you may opt for Arch, Ubuntu or Puppy Linux. The boot times for Arch and Puppy Linux are amazingly small. Amongst larger distributions, OpenSuSE has one of the fastest boot times.
  5. Disable unnecessary kernel modules - Only for Geeks and Administrators! This one is for the people who love things out-of-the-box! The Linux kernel consists of a lot of modules, each associated with an operation of a task or group of inter-related tasks. For example - You don’t need to have a wireless kernel module loaded if you’re running over an Ethernet LAN. This task is complex and will require a kernel recompilation, which unfortunately is not the easiest task to accomplish. To go along with this, you will need the kernel source, which can be downloaded from the distro’s website. Thereafter, you need to follow the standard steps for compiling a kernel, with a difference that you shall go through and disable all the modules you don’t need.
    At this point, you may take help of Bootchart. It lets you find out which kernel modules are currently installed and are running on your system. Apart from this, it illustrates for you what is happening during your system boot!

These were a few methods which would help you run Linux better and faster than before. These recommendations are made keeping an eye on the Linux users who do not cherish today’s fast and hardware rich machines! Stay tuned for more action.


Don't like it? There are lots of published articles, pick a random one.

oCricket

Praval Singh posted this article on Wed, Jul 30th, 2008 at 1:00 am
Categorized under Featured, Linux and has the following tags

Prev Article: Take the A List Apart 2008 Survey

Next Article: Startup Ideas you can steal and spawn


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 2 responses so far. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

  1. a lot of the more user-friendly distros, like ubuntu, or fedora, will load tons of crap like bluetooth and wi-fi drivers and CUPS at boot time, by default. kinda like windows…

  2. Do most linux distributions provide hybrid sleep?

    I never boot up my computer, just press the space bar and 2 seconds later I log in.

    Greetz Erik

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Fedora 10 Released

Let's talk history! Fedora was created in late 2003 as a Linux based Operating System which gives the users an admittance from anywhere in the world to the most up-to-date free and open source software ...28th Nov, 2008

Top 25 Hottest Indian Web Companies

Note: User submitted article. Personally, I would advise not to take this video seriously. 21st Nov, 2008

India gets ready for Free and Open Source Software

Over the years, FOSS.in has attracted thousands of participants, and the speaker roster reads like a "Who's Who" of FOSS contributors from across the world. FOSS.in is a non-commercial event organised and run entirely by FOSS ...21st Nov, 2008

Cooliris for the iPhone

Cooliris is the browser extension that revolutionizes the way you view media on your computer. It is now available as an application for your iPhone! Cooliris for the iPhone allows you to search the web ...22nd Oct, 2008

Adobe releases Flash Player 10 (Mac, Win & Linux)

Adobe have released the shipping version of Flash Player 10 for Mac, Windows and Linux. More about Flash Player 10 * About Flash Player 10 * Get Flash Player 10 (Official Release version 10.0.12.36) * Download Debug and Standalone ...15th Oct, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • oCricket oCricket is about Cricket and people enthusiastic about it.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 899 Articles and 6,111 comments, contained within 21 categories and 1,372 tags.