Create Your Own Custom Linux Distro
Bytes: When there are so many Linux distros out there, you are probably wondering why one would want to create his/her own distro instead of getting a ready-made one. While in most cases a ready-made distro is fine, if you want to have a distro that is one-hundred percent tailored to your needs (or your mum or dad’s needs), you might have to create it on your own.
With the right tools, creating your own Linux distro isn’t as hard as it seems, though it takes time for sure. There are lots of tools for the purpose – some of them are universal, and some of them are distro-specific. Here are eight of them.
1. Linux Respin
Linux Respin is a fork of the now discontinued Remastersys. Years ago, Remastersys used to be one of the most popular tools to create your own Linux distro and/or a backup of your OS. Linux Respin doesn’t offer as much as Remastersys used to, but still it does a great job if you are using a distro it’s available for. Linux Respin is available for Debian, Mint and Trisquel only, which kind of limits its popularity. What I don’t like about this tool is its almost nonexistent documentation.
2. Linux Live Kit
Linux Live Kit is another tool you can use to create your own distro or back up your system. It prefers Debian but fortunately can be run on other distros as well, provided it supports aufs and squashfs kernel modules. Linux Live Kit has a very short and sweet wizard on how to build a distro – just follow the steps and you are done.
3. Ubuntu Imager
Ubuntu Imager is a good tool to create your own Ubuntu-based distro. It’s not the only such app for Ubuntu, but since it’s a good one, I chose to mention it on this list.
4. Linux from Scratch
If you want to have absolute control on what is included in your distro and you have lots of free time, you can have a look at the Linux from Scratch project. LFS has very extensive documentation and is a great learning resource about Linux in general, not just how to create your own distro. Linux from Scratch allows you to build your own customized Linux system entirely from source code. LFS is not exactly a tool, like the rest on this list, but you can still use it for the same purpose – to create your own Linux distro (and to learn a lot about Linux as a whole).
5. Slax Modules Tool
If you are looking for an easy-to-use tool and you like Slax – a lightweight distro based on Slackware, you are lucky because they have an online tool you can use to pick the modules you would like included in your distro. I’ve used this tool in the past numerous times when I wanted to create a lightweight live system for friends of mine, and it works like a charm. Browse through the categories of software and pick the apps you want. Add them to the build. Don’t worry if you miss a thing or two, as you can always add more apps after you build and run it.
6. Live Magic
Live Magic is one more Debian tool for distro creation. It can create CDs, USBs, and netboot images. It’s much simpler to use than some of the other apps on this list, such as Remastersys, but it does not use your running system to build the image. Instead, follow a wizard and choose your configuration options as you go. The program will pull the packages from your repositories and install them into your image.
The really interesting thing about Instalinux is that it allows you to create an ISO image online. On the website you can choose which distribution to base it on (e.g. CentOS, Debian, Fedora, Mint, OpenSUSE, Scientific, and Ubuntu), and which version of the selected distro, as well as the packages. Instalinux creates a small bootable ISO (approx. 30mb) which, when booted, will begin the install and fetch the other packages from the Internet. This may be the most versatile tool on the list, and the web interface makes it extremely simple to use. It won’t, however, provide you with a full live desktop environment.
8. SUSE Studio
For SUSE users the best choice is SUSE Studio. Somewhat similar to Instalinux, SUSE studio allows you to use a web interface to create a custom distribution or “appliance.” It tops the charts in supported media by including output for CD, DVD, USB stick, hard drive, VMware, VirtualBox, and Xen. In order to use it, you need to open an account – this is simple because it uses Single Sign On, and you can quickly get in with your Google, Facebook, etc. account. You can choose which version of SUSE to use as a basis, if you want the server version or not, and which desktop to include in the build.
I hope these tools for creating your own Linux distro are of help to you. Their level of complexity (and power) varies, but we’ve tried to include both easy-to-use apps and apps that give you more power. In addition to these apps, many of the distros have their own tools that were mentioned here, so if you are using a different distro, it’s best to first check what tools are available for it in particular and then, if you are not happy with what you find, try the universal ones.