Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

Building a Linux Kernel

Russ Hunter
  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close WindowRuss Hunter

Russ Hunter

Learn more…

Sorry, this author hasn't posted any blogs.

Linux Kernel Development

Like this article? We recommend
Linux Kernel Development

Hardware and security issues sometimes make compiling your own Linux kernel a necessity. Learn how to overcome the challenges and build the kernel you need with this beginner's guide.

Introduction

The kernel that came with your Linux distribution was likely built as a "one size fits all" component of the operating system. In many situations, this generic kernel will be adequate for your needs. But building your own kernel offers several advantages:

  • Because you can read all of the source code, you know exactly what's compiled into your kernel. If a machine's kernel contains malicious code, you can count on someone exploiting it; this is why shops such as the U.S. Department of Defense require the kernel to be built in-house for all their systems.

  • Another advantage is hardware support. If your distribution's default kernel doesn't support some piece of esoteric hardware (say, the latest gigabit Ethernet interface or FireWire card), building a custom kernel can be an excellent solution.

  • Finally, building your own kernel can offer performance advantages. For example, you can build a kernel that supports only the hardware you have installed—nothing more. This technique can shrink the size of the kernel by a fair amount.

Once you've built your own kernel, you can even package it up and use it for all your systems. Knowing how to compile your own kernel is definitely a valuable skill for anyone who administers a Linux system.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

So Far So Good
By John Traenkenschuh on February 2, 2010 No Comments

So far, Win 7 is making a thoroughbred of what has been a plough mule laptop

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

See All Related Blogs

Informit Network