Quantcast

Don't have an account? Register Now! Forgot password?

Maximum IT
Features

How to Build Your Own Custom Linux Distro

comment Commentsprint Printemail EmailDeliciousDiggStumbleUponRedditFacebookSlashdot

Although most Linux users rely on pre-built Linux distros and customize their software configuration after installation, there is nothing quite like having a Linux distro that was custom-designed to your specifications. This allows you to get whatever you want out of the box, but in the past it was difficult to create such a distro since it involved compiling the entire operating system from source. (something firmly in the realm of advanced-to-expert-level users)

In more recent years, it has become possible to create your own Linux distro through various easy-to-use online interfaces. The most well-known distro customization tool is Slax (which we recently discussed) but Novell has a tool called SuSE Studio in closed beta which allows you to assemble your own custom SuSE-based distro from pre-compiled packages. Right now, SuSE Studio is still invite-only since Novell gives you storage space on their servers and bandwidth to both store and download your creations.

Read on to learn how we built our own Maximum PC-themed Linux distro!

Planning the System

Before you can create a distro, you must first plan what you are going to use it for. Our intention was to create a customized yet well-rounded desktop distro based on openSuSE 11. However, you also have the option of creating a desktop or server variant of OpenSuSE or SuSE Enterprise Linux for 32 or 64-bit x86 architecture. If you plan to redistribute your creation, you will need to use OpenSuSE as a base since SuSE Enterprise Linux is not free for download whereas OpenSuSE is. Redistribution also requires the removal of all SuSE-related artwork and branding as per the Novell requirements.

 

Many distros are meant to be one-size-fits-all and can be a little bit bloated since they must appeal to a wide audience. Since you know what you need better than anyone else, building your own distro gives you unparalleled opportunities to maximize efficiency. Ideally, Linux distros should be as small and compact as possible while still being feature-complete, so try to plan ahead and come up with an inventory of the exact software you are going to need. It often helps to get out some paper or a spreadsheet to make a list: break down the required software ecosystem for your distro into categories like development, Internet, multimedia, graphics, office, etc. and then populate each category with the programs you think you will need.

When you go hiking, it pays to travel light since it is seldom worth it to carry a bunch of equipment you don't need over long distances. The same rule applies to distro planning. You should avoid including software that introduces redundant functionality; you don't need more than one desktop environment, raster editor, or office suite on your system. For instance, don't install both Openoffice.org and Koffice or both GNOME and KDE in the same distro.

The only exception to the rule is with GUI vs. CLI utilities; you should make sure you have a CLI alternative for important utilities if applicable. For instance, you might choose a robust tool like Kate or Gedit as your primary text editor, but you should also include a CLI-friendly tool like Vim or Nano to fall back on during the times you may not have GUI functionality. Alternatively, you could also get away with just using Vim as your all-purpose text editor in both a GUI and CLI setting if you are so inclined. While it is possible to mix and match programs from both GNOME and KDE in SuSe Studio, this will inevitably create bloat because of the extra dependencies that will also have to be installed to make everything work.

Building the Distro

Now that planning is out of the way, we can get to the really fun part. The first step to building a custom distro with SuSE Studio is creating the base configuration. This includes choosing the core operating system, (various OpenSuSE or SuSE Enterprise Linux templates are available in preset desktop, server, and minimalistic configurations) the primary desktop environment, the primary system architecture, (x86 or x86-64) and the name of the distro. The core operating system doesn't include very much, just a kernel, desktop environment, and a few basic utilities. For our demonstration, we chose to create a 64-bit variant of OpenSuSE 11 that utilizes the GNOME desktop environment. We chose to call our creation “Maximum PC Linux.”

COMMENTS
avatarMy Distro

This article  has made me create my own distro  using gnome openSUSE, thank you for the inspiration.

Login or register to post comments
avatarInstaLinux

If you want to build your own Linux -- more or less -- check out Instalinux:

http://www.instalinux.com/

Comic Book Guy

Login or register to post comments
avatarIf only the beta was an open

If only the beta was an open one; trying to get everything you want in Slax is extremely tedious.

Login or register to post comments
avatarSuse Studio

It's pretty cool, I've been in the closed beta for quite sometime. However where I prefer Ubuntu I haven't really tested any appliances that I have built. The only thing I use linux for is my print server for my windows network.

Login or register to post comments
avatarWhoppee...

 Shoot, I have enough troubles with stock Linux installs. Thrice tried and thrice failed. Only about 1% of private users run Linux as their main op sys, for a reason. After hours and hours of just trying to network the damn thing, get web access, and making the printer work, I just said F*** it. Now you want me to "customize" Linux?  No thanks, compadre.

Login or register to post comments
avatarTrue, not everybody has the

True, not everybody has the same capabilities of installing and configuring linux as my 11 year old.

Login or register to post comments
avatarsuse suse studio

suse suse studio , lol

Better watch out the RIAA or Phil Collins might be on them for copywrite infringement.

Login or register to post comments

This Month's Issue
FEATURE How to Get FREE Programs, Services, Software & MoreFEATURE Digital Photo Printer RoundupHOW TOBuild a 3D CameraFEATUREDIY Arcade PCWHITE PAPERHow TRIM Works