The InformationWeek -- Blogs
Open Source Blog

Topics:   Open Source

  • Email this page E-mail this page
  • Print this page Print this page
  • Bookmark and Share
  • icon

My Own Linux Distro: The Beginning


Posted by Serdar Yegulalp, Nov 13, 2007 04:24 PM

Here's a project I've been thinking about for a good long time, and which I've finally decided to get under way in public: I'd like to try and build my own custom Linux distribution.

There's a whole slew of reasons I want to do this.  Obviously, I'd like to learn more about Linux from the inside out, which is never a bad thing.  I also want to get a flavor for the issues involved in working with Linux on that level -- why certain decisions are made about things, what the consequences are for making such decisions, and so on.  And finally, it sounds like a heck of a lot of fun -- the kind of tinkering that I could really sink my teeth into.

The first thing I want to nail down are the design goals for this distribution:

1. Lightweight.  I don't want to build anything huge -- just something that can boot from a CD or flash drive, run a few basic commonly used applications, and be able to save the user's settings persistently.  This isn't the same thing as trying to figure out how to cram the most applications into the smallest space.  Installing to a hard drive also is optional at this point, but I'd like to have that if I can.

2. Logical.  After reading about the GoboLinux directory structure, for instance, I thought I might try and implement something similar myself.  The existing nest of directories in Linux always seemed terribly counterintuitive and I wanted to take a step away from that if I could.

3. Useful.  The more real work I can get done with the distribution when I'm finished with it, the better.  This means I'll be adding in builds of applications like Firefox, Thunderbird, OpenOffice, etc., as I move along.

4. Well-behaved.  I'd like to try and make sure that this distribution plays nicely with things like ACPI, at least on the machines I run it on myself.  I don't plan to run using terribly exotic hardware, so a number of things (like PC Card support) can probably be omitted entirely from the kernel, and thus I can probably pare down some of the complexity that might come from trying to run everywhere.

5. Public.  Meaning that each step I take is going to be documented here -- not just when things go wrong (as I'm sure they will at some point), but when things go right, and why.

Obviously one of the first resources I plan to make use of is Linux from Scratch, with its instructions for assembling and building a distribution from the ground up, and Gentoo Linux, the other major wellspring for Linux do-it-yourselfers.  I doubt I'll use Gentoo except maybe in a compare-and-contrast sort of way -- at a glance, LFS's materials seem much easier to wrap my mind around.

Again, at first, I won't be doing more than gathering information and soliciting feedback at first, and discussing my rationalizations for specific choices as I go -- but that part alone ought to be enough to keep me busy for a while.  Wish me luck.

« Morgan Stanley IT Exec Departs | Main | Is This Android Running On An iPod Touch? »



Sign up now for the weekly InformationWeek Blog Newsletter.


This is a public forum. United Business Media and its affiliates are not responsible for and do not control what is posted herein. United Business Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of United Business Media LLC and may be edited and republished in print or electronic format as outlined in United Business Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.