Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I recently read a blog post on customizing Ubuntu 9.04 (I believe) via the terminal. It explained how to download all the Linux base packages and create a Linux distro inside of a directory and then how to chroot that directory. Somewhere along the line I couldn't get a package to install that the tutorial needed so I had to drop the project altogether. I would like to continue with developing a distro but I can't seem to find the tutorial again and I've just purchased a brand new computer with all my files from my old one gone.

How would I go about downloading the base Linux files into a folder, chrooting that folder to install a few other programs, and then automatically starting a python script upon system boot (once the user has installed the system).

Thanks for all answers.

share|improve this question
up vote 1 down vote accepted

I think what you mean is this guide. Although it says "Live CD" in the title, you can include the option of installing the customized system on other computers.

share|improve this answer
This wasn't it but it pretty much explains the same steps thanks. – KI4JGT Aug 21 '12 at 5:37

Looks like your talking about LFS i.e. Linux From Scratch project It is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source and as you say from terminal (command line).

Current stable release of the book can be downloaded from here.

I hope this will help.

share|improve this answer
I was hoping to have a condensed tutorial (much like the blog I was reading). I'm on page 20 of LFS and it's good stuff and it's straight forward but all I'm wanting to do is download an image, set the repositories to Ubuntu's, install a few extra programs, and then set a python startup script as the main user interface or start up program. The LFS book (which I'm still reading) is just aging on my misery with an unintended taunt of "You're not ready yet." LOL – KI4JGT Aug 21 '12 at 5:17

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.