Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since Linux uses open-source packages, I was wondering if I could develop my own Linux distro by compiling these packages.

I tried to read the Linux From Scratch book but it's quite big and uses lots of packages.

I want to develop a small Linux distro using the Linux kernel and busybox. I tried searching on the internet but didn't find a good guide.

share|improve this question
Linux is very flexible. That is the reason by you need many packages to achieve a certain goal. What do you want to learn by developing a distribution on your own? – Nils Feb 2 '12 at 21:17

Looks like Mike Chirico has a document on this. There's an IBM developerWorks article that seems relevant, too. Good luck, you'll have fun with this.

share|improve this answer

I'm going to be brutally honest here: at this point you do no one, yourself included, any favors by creating your own fully-customized distro. Several existing distros have established mechanisms for creating customized versions; I recommend you start with one of them and add/modify specific packages as appropriate.

share|improve this answer
I have to disagree. LFS, and to a lesser extent, Gentoo, exist so that you can learn how to make a distro. I seriously doubt anyone would put LFS into an enterprise production environment, but I also heard a rumor that Arch linux started as a LFS instance. – Bruce Ediger Feb 2 '12 at 2:53
@Bruce: Learning how to make your own distro is well and good, but I still stand by my answer. As for Arch Linux, whether or not it started out as LFS is irrelevant. – Ignacio Vazquez-Abrams Feb 2 '12 at 3:01
I don't just want to have custom distro. I want to learn things – Suyash Mohan Feb 2 '12 at 3:35
-1: The question is not "do you think I should make my own distro?" but "how to develop a distro?". – rahmu Feb 2 '12 at 8:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.