My Very Own Linux
Lately, I’ve been toying with the idea of creating my own Linux distribution. Why? Well, for starters I think it would be a good thing to do in order to gain a better understanding/appreciation of the process. Linux distributions, in my mind, have all failed in subtly minor ways for a variety of reasons. Sure, nothing is perfect, but with the power and efficiency of the Open Source movement, you’d think that it would approach something better than the current state. Another reason for rolling my own distro? To see if I can. I have a very vague and general understanding of how it is accomplished, but by doing it myself maybe I can add something to it that nobody has thought of, thereby making it better, which is generally what the entire Open Source concept is about.
But, Dave… There are well over 800 Linux distributions out there already. What makes you think you can compete?
Competing is not the point. The point in mountain climbing is not to see who can reach the top first, but to learn something about yourself, and generally “because its there”. If my Linux distro gains momentum and ends up being something more than just a hobby/pasttime, great! If it doesn’t, that’s fine too. I’m not going to make any promises to anyone, at first, because this will be to used fulfill my own needs which don’t necessarily apply to anyone else. If I later discover that other people have needs similar to mine, we’ll talk about where to go from there.
Basically, there are two approaches in creating your own Linux distribution: building from scratch, and basing it on existing. Some Linux distros are based on other Linux distros. For example, Ubuntu was created out of re-building software packages from the Debian/GNU Linux distribution, but Debian was created from scratch by hundreds of volunteers. Ubuntu itself has spawned derivative Linux distributions; Kubuntu, Xubuntu, Ubuntu Studio, and Mythbuntu to name a few. Both methods have their advantages and disadvantages, and both are equally valid (and probably equally popular).
A few existing Linux distros come with their own “roll your own” application that will automagically create a customized ISO image that you can use to modify/install/spin/fold/mutilate to your heart’s content. Yes, the method bases it on a specific Linux distro, but it will be relatively different depending on the customizations you’ve set in place. For example, Fedora has Revisor. There are also non-distro-specific utilities on the web such as Instalinux, as well as complete Linux distros based on customization and optimization in which everything is built from source — Gentoo.
The other method is to construct a Linux distribution completely from scratch, appropriately named Linux From Scratch (LFS). While this approach isn’t entirely difficult initially — its just building binary files from source files — it is time-consuming. It is also recursive, meaning that software you compile in the beginning stages are depended upon by other software you build later, and you’ll have to start over from the point of contention if you discover something broken. This is termed “building the toolchain”. Building software so that you can build other software with it, that software becomes dependent on the initial software build, which is then used to build even more software — creating a chain of software used to create a system, which will be bundled together to form an installation, and a Linux distribution. That’s the easy part. The hard part isn’t in building the software; its in maintaining the whole thing such that when a bug is discovered it is easily and quickly patched/fixed and the remaining components of the toolchain remain relatively unaffected or are automatically rebuilt using the new link in the toolchain.
Whatever method used to build the Linux distribution, there still needs to be some point to the exercise, else time invested is wasted in making an exact copy of something that could have been simply downloaded to begin with.
My goals:
- Hybrid approach, mixing Linux From Scratch with useful tools from established distributions.
- A practical level of security in the system, without sacrificing usability.
- An agnostic mindset for software packages, trying not to rely on one set of software built for one distribution. A best of breed path would be ideal, taking the best software from well known distributions, and possibly introducing software that is not available in any Linux distro.
- Initially, aim at the desktop and see how that goes before configuring things for a server platform.
- Simple for the user, but without the cost of being difficult or complicated for the system administrator (who is often the user also).
I’ve had quite a few discussions with friends about what I should name it. After all, that’s the most important aspect of a Linux distribution, right? Amazingly, in the discussions about naming my distro, no one ever asked me what I wanted it to do — but everyone has suggestions for a name. I guess in the age of Google, and Yahoo, the name doesn’t have to be related to what it does. I have a pretty good idea what I want to name it, but that may change later. Considering there are over 600 distributions of Linux in circulation, a few hundred discontinued, and a few hundred more about to be announced (some of which might be discontinued in a few months), the name doesn’t matter that much to me as long as it isn’t completely ridiculous. Douchebag Linux doesn’t smack of “Download me! Use me! I’m useful!” On the other hand, Master of All Linux sounds good, but is probably just a tad too ambitious.
I wish there was a quick way to check if a name is already taken. Like a global registry, or something that I could search for to determine if a name is used. Distrowatch.com is good, but there is a 90 day waiting period for a Linux distro to be added to the list because “this is to discourage submission of new projects that start with great enthusiasm only to vanish in a few short months”. Like I said… Easy to start, difficult to maintain. Incidentally, ParanoidLinux is on the waiting list to be added to Distrowatch. Its not mine, but I get quite a few people that read this blog after searching for that particular distro. I wonder why…
You’re currently reading “My Very Own Linux”, an entry on Paranoid Linux Ninja Geek
- Published:
- 05.14.09 / 9am
- Category:
- linux, open source, philosophy, security, tech
- Tags:
- Post Navigation:
- « Bloggin’ the Blog… With Photos!
Japanese Commercial »





Comments are closed
Comments are currently closed on this entry.