We're used to thinking of Linux distributions being set in stone. They're either KDE or Gnome, use a certain kernel and bundle certain applications. But this doesn't have to be the case. If you find yourself making the same adjustments each time you install a new distribution, it's worth creating your own customised version. Revisor is a tool that lets you do just this, and in this tutorial, we'll show you how...
Update: And don't feel left out if you're a Windows user. Check out our tutorial about how to build your own Windows. And if you're a die hard Linux fan, check out our guides to cluster computing in Linux and booting into Linux over a network, Finally, if you want an even flashier way to put together a distro, why not use SUSE's tools and build it online?

The Revisor tool has been a part of the Fedora distribution for the last few releases. This means you can use any of these versions to create your own Linux distribution, although we'd recommend using the latest – Fedora 10. Installation is very straightforward, and shouldn't be a problem if you've installed any other version of Linux from the last two years.
After installing the operating system, the only other prerequisite is the Revisor application itself. This can be installed by clicking on the Administration menu, selecting 'Add/Remove software' and searching for a package called revisor. Click ‘Apply’ and accept the additional packages that need to be installed.
However, there is one step that is vital to success, and that's updating Fedora to include the very latest patches. You can do this using the Update tool in the Administration menu. This is required because the version of Revisor that was bundled with Fedora 10 was broken, and this won't create a workable Live CD. You need to either use an older version, or update your 10 installation to use the fixed version of Revisor.
After installation, Revisor can be found in the Applications | System Tools menu. Click on the icon and enter your root password. If you see an SELinux error, you will need to change a security setting for your system. SELinux is an ultra-tight Linux security system that keeps a close eye on what certain application can and can't do. Revisor falls out of its remit, so you need to change its level of protection to Permissive.
To do this, load the SELinux Management application from the System | Administration menu and change the Current Enforcing mode to Permissive. When you launch Revisor again, the error will have disappeared.

From the Revisor main window, click 'Get Started'. You now have to decide how your new distribution will be booted. You can choose between the standard installation and Live media. The first option is a good choice if you're planning to install your own version of Fedora on many different machines, for example, in an office. The DVD or CD you create will let you install your own distribution, complete with your own set of applications, without any prompting. If you want to create your own distribution for personal use, then the chances are you'll find the Live media types more useful.
This creates either a Live CD/DVD or a USB stick installation of your distribution, and you'll be able to boot into your desktop from either of these installations by simply inserting the media into your PC. As with any Live media, you'll be able to work on your desktop and use the applications you choose, but your distribution won't touch the host machine's hard drive. This is a great solution for Internet cafes or college PCs. We've opted for the Optical media type installation, as we find this is the most flexible.

Click on the ‘Forward’ button to bring up the package repository configuration page. This lists the sources for the packages that are going to be installable for your distribution, as well as the packages for a specific hardware type. These are decided by the option to the right of Configuration Section to Use, and by default this is set to the most generic option – f10-i386. If you want to build your Linux distribution for a different platform, such as Intel 64-bit or PowerPC, then you will need to use a version of Fedora running on that hardware. You can't build a distribution for an architecture different from the one which Revisor is running on.
Other than system architecture, another option you might want to change is the Destination Directory. This is where the final image for your distribution will be built. Beneath this option, you will see a list of the repositories that are going to be used for pulling the packages you want to include in your distribution. We disabled all but the simple Fedora repository.

Skip the page titled Load Kickstart Data. The step after this is the most important because it's where you get to choose the packages that are going to be installed on your own distribution. Not only will this selection define what can and can't be done with your distribution without any further modification, it will also define exactly how big your distribution is going to be. That's important if you want to fit everything onto CD.
If you do need to keep package size to a minimum, then we'd recommend opting for the XFCE desktop environment, rather than the fatter Gnome or KDE options. These are ideal choices if you want a more powerful environment, but you'll need a DVD's worth of capacity to make the distribution useful. You should also install everything listed in the base category, as these packages are needed to create a functional environment. By default, the Package Selection screen only displays groups of packages, rather than individual selections. If you want to install GIMP, for example, you need to switch to the Search view and type 'gimp' into the find field. You can then select the package from the results list. You should consider installing a web browser (Firefox), a word processor (OpenOffice.org), a music player (Amarok or Rhythmbox) and a video player (totem).

You now have the opportunity to fine-tune your distribution to your liking. The first page is the most important, as this lets you define your language and keyboard layout, as well as the root password for your Live system. You can ignore the kernel parameters and the authentication page, although you should also add a single default network device on the following page and leave the firewall enabled for safety. You may also want to create a default user account.
When you're happy with your customisations, click on the ‘Forward’ button. Revisor will calculate dependencies (those packages that are required to make your selection work), and tell you how much space your distribution is going to use. If this is too much for your install medium, you will need to click 'Back' and remove some of the packages you've selected.

A basic installation of XFCE and GIMP took up around 700MB in our example. Clicking 'Forward' one more time will start the compilation process. This consists of 11 separate steps.
The speed with which all of this is accomplished is obviously dependent on the number of packages you've chosen, the speed of your Internet connection and the capabilities of your machine. But to give you a ballpark figure, our Intel Core 2 Duo 6400@2.13GHz machine took around 90 minutes to build a 700MB-sized distribution.

After the generation of the file has completed, you will find the final ISO located in a '/srv/revisor' subdirectory (as long as you didn't change that earlier). Our file was hidden in the Live folder, and called Fedora-10-Live-i386.iso. You need to burn this file to a blank CD, and you can do this from within Fedora by right-clicking on the ISO file and selecting 'Write to disc'. You have to be careful with ISO images, as you don't want to mistakenly write them as a single file to a new disc. You need to make sure they're used as an image to copy the contents from the ISO file onto the disc.
When the burning process has finished, you're ready to launch your freshly squeezed Linux distribution. Insert the disc into the optical drive of your machine and reboot. You will also need to make sure that your system is configured to boot from the optical drive, either through your system BIOS or by a boot-time device selection menu.
This article originally appeared in Issue 279 of PC Plus.
Enjoyed this article? Subscribe to PC Plus and get your monthly digest of news, features and all the stories that matter delivered straight to your doorstep - worldwide. Click here for our latest offers.
Copyright Future Publishing Limited (company registered number 2008885), a company registered in England and Wales whose registered office is at Beauford Court, 30 Monmouth Street, Bath, BA1 2BW, UK
I think everybody should try also SUSEstudio, which does everything that the revisor does and a lot more, It is still at alpha but I found it very usable.
www.susestudio.com
Submitted by Felix Rdz on 10 April 2009 - 3:35pm.
problem with this is that the software is constantly being updated and changed so you are likely to have to do this constantly if you want to stay up to date.
Submitted by Anonymous on 10 April 2009 - 6:33pm.
We are, are we? Maybe if by "we" you mean "people that recently switched to Linux from Windows and still treat it like Windows". Some of us are well aware of the true flexibility of Linux.
Anyway, LSF is "making your own distro". This is just a customized package list on an installer. You can do the same thing with Debian by adding the packages you want to a minimal install (a few hundred MBs, no X) and using dpkg --get-selections and then dpkg --set-selections on subsequent minimal installs.
Submitted by Anonymous on 11 April 2009 - 9:01pm.
LFS
Submitted by Anonymous on 11 April 2009 - 9:02pm.
I'm a little off topic here, but I have a complaint. I am a Windows, BeOS, PC-BSD user. I constantly hear that Linux is the best. I'm not a guru, so I only use OS's that install to a partition of my choosing. Why do I have to make 2 or 3 different partitions to install Linux: no other OS makes me?
Submitted by Anonymous on 12 April 2009 - 2:21am.
Linux doesn't make you use 2 or more. It installs just fine on one partition. Although I prefer to use 6-8 partitions depending on use.
Submitted by Anonymous on 12 April 2009 - 3:45am.
that's right about using one partition. if you have enough memory, you can install linux on only 1 partition.
Submitted by Anonymous on 12 April 2009 - 7:36am.
Windows uses more than one partition. Best I can remember. Don't you normally have a :c and a :d drive? That's a partition. Its been a long time for me so I may be wrong here.
Submitted by Anonymous on 12 April 2009 - 7:56am.
Thanks for the well-written, informative article!
Submitted by sammy on 12 April 2009 - 8:37am.
By default Windows uses one partition (c:). a: is the floppy drive, d: is the cd/dvd drive. Certainly there are Windows setups with 2 or more HDs or 1 HD with multiple partitions; in those cases those drives are d:, e:, etc. The cd/dvd is bumped down another letter for each additional HD/partition.
Submitted by Anonymous on 12 April 2009 - 10:24pm.
How do we do if we don't want packages to be downloaded, say if we had DVD of Fedora ? Because i don't always have internet connected.
Submitted by Anonymous on 13 April 2009 - 4:26pm.
Like other people said, you don't *have* to use 2 or 3 partitions, Linux will work just fine with 1, but most people choose several for good reasons. If you use several partitions ( like /boot, /home, /temp, /usr/local, /media, etc) they all jive nicely, looking like subfolders of one larger directory (the root directory, '/'). But since they're different partitions you can format one without changing the others. E.g. imagine reinstalling windows os, but without worrying about backing up your My Documents folder as it's on a different partition (in Linux this might be your /home partition, whereas the OS is on the '/' partition). Also, you can fragment one partition, (like the /temp directory being used for writing and re-writing temporary internet files) without fragmenting any of your other partitions (in windows you would need to defrag your c: drive eventually). Last thing, while I'm on this role: all these extra 'drives' don't show up as a mess of c:, d:, e:, f:, etc on My Computer, they just have their seamlessly integrated folder names. There are probably more reasons it rocks that I don't about, but honestly it just makes a lot more sense than the windows structure.
Submitted by Anonymous on 13 April 2009 - 7:53pm.
Linux From Scratch is making your own distribution. This is not. Linux from scratch and then Part 2 Beyond Linux From Scratch show you how to truly make your own Linux. From down loading and compiling the sources to installing and configuring adjacent files. You can find out more at the websites: http://www.linuxfromscratch.org If you have a 64Bit processor then you should go to http://cross-lfs.org (amd64, mips, ia64, etc...).
The above technique is a process known as Re-Mastering or Re-Packaging. Nothing wrong with that but you don't have full control.
Submitted by taxtropel on 30 April 2009 - 7:37pm.
or you can always use archlinux
Submitted by Anonymous on 19 May 2009 - 2:56pm.
What I'd like to do is to have a Linux (or other OS) boot up and run an AVI at start up, preferably looped so it keeps playing. Movix looked good - but then they added a menu option to play the AVI. Can anyone help with a way of doing this?
Submitted by Anonymous on 30 June 2009 - 11:38am.
Linux doesn't make you use 2 or more. It installs just fine on one partition. Although I prefer to use 6-8 partitions depending on use.
Submitted by keitel on 28 July 2009 - 5:43pm.
Think of the hassles you have when you want to do a clean reinstallation of Windows—how do you preserve all your precious user data and documents? Or perhaps move them to a new machine?
In Linux, things are clearly separated, so user files and preferences live in one area, separate from system stuff. You can put the two on the same partition if you like, but keeping them separate makes it easier to, say, switch to a different distro, and leave the user files untouched. When I was first experimenting with Linux, I set aside 4 separate partitions for doing OS installs, all sharing the same user area, so that I could try out different ones without having to move my user stuff back and forth.
Also, you can even transfer the entire OS to, say, a new hard drive, just by using standard file-copying utilities. No need for a special “ghost” application! How’s that for flexibility?
Submitted by Lawrence D'Oliveiro on 16 August 2009 - 8:30am.
what a fun project! building your own Linux distro as if the major distros such as Ubuntu don't have thousands of man hours from skilled people put into them.. why fix something thats not broken? You can just take Ubuntu and modify it if you need to but building your own distro is a bit extreme unless you have a very good reason to do it or if you're trying to start an open source community project.
Submitted by Clasamente on 21 January 2010 - 1:50pm.
I was lucky enough to be a part of the Suse Studio alpha group and it is certainly very impressive. My only negative comment is that i would like to be able to take a standard Suse install and take out what i don't need, rather than trying to build one up from scratch and remember to include every essential package.
Still, it's revolutionary y'know.
Submitted by Biletul on 3 February 2010 - 1:07pm.
This is great, I think I give it a try with ubuntu, if that works?
Submitted by Leo on 4 February 2010 - 3:21pm.
I hope these tips if I was not stuck on me halfway and be forced to take over again. Not even an expert but I do not want to give up Linux. It is more safe and beautiful.
Submitted by piese auto on 9 February 2010 - 5:36am.
thanks for a great great post, Can you write about the same topic but using mandriva as a based?
Submitted by intipadi on 1 March 2010 - 4:07pm.
I think that users making open source mash ups of their own linux distros is healthy for the open source software ecosystem by keeping it robust and responsive to the variety of needs that arise with different users. People complain about how many different distros there are but I think the only problem with it is that most of them are not different enough. Stuff like this is more for toolin' around though. Anyone serious about making a distro should know code.
Submitted by tylerdurden on 3 April 2010 - 10:04am.
"By default Windows uses one partition (c:). a: is the floppy drive, d: is the cd/dvd drive."
Windows sometimes does install two partitions because there is the main partition (C:/) and there is also a Recovery partition (E:/)
Submitted by bjamison on 23 May 2010 - 3:48am.
Sure, if you have enough memory, you can install linux very easy!
Submitted by finale coupe football on 24 June 2010 - 12:45am.
nice post!
Submitted by biletul zilei on 25 June 2010 - 6:26pm.
Thanks for sharing this good information with us.Bet Promotion
Submitted by bet promotion on 26 June 2010 - 12:16pm.
Rather than respinning a whole distro, is it also possible to install an existing distro, install/remove a bunch of packages till you're happy, and make some sort of log/shell script out of that that can install/uninstall all these packages for you once you install the same distro / a new version of the same distro from scratch? Because I'd love that.
Submitted by Clasamente Fotbal on 27 June 2010 - 2:57pm.
I’d just like to say thank you for writing this straight forward tutorial. This is the first tutorial that I have came across that makes perfect sense and allowed me to get started!
Submitted by pariuri sportive on 30 June 2010 - 10:16pm.
I love returning back to this site and reading the quality content you always have on offer.
Submitted by online poker on 30 June 2010 - 10:18pm.
Well, this is a very valuable post. Thanks for the information you provided. Aditional you can you can make some money from sport betting, we can help you to win with livescore|rezultate live|try it!
Submitted by poker romania on 30 June 2010 - 10:20pm.
its a great post!thanks
Submitted by casa pariurilor on 2 July 2010 - 10:52pm.
very good information and useful1 thanks
Submitted by bwin on 3 July 2010 - 10:59pm.
Very interesting these articles. Please send me by email more information about these articles. thanks
Submitted by fullbet on 10 July 2010 - 10:34pm.
Yes, Arch linux is the best one in this choice to have own linux distro.
- Robin
Submitted by DailyTUT on 23 July 2010 - 5:32pm.
I'm a little off topic here, but I have a complaint. I am a Windows, BeOS, PC-BSD user. I constantly hear that Linux is the best. I'm not a guru, so I only use OS's that install to a partition of my choosing. Why do I have to make 2 or 3 different partitions to install Linux: no other OS makes me?
Submitted by earth4energy on 26 July 2010 - 10:28am.
hey buddy,this is one of the best posts that I’ve ever seen; you may include some more ideas in the same theme. I’m still waiting for some interesting thoughts from your side in your next post.
Submitted by jerseys on 26 July 2010 - 2:14pm.
People complain about how many different distros there are but I think the only problem with it is that most of them are not different enough. Stuff like this is more for toolin' around though. Anyone serious about making a distro should know code. club penguin cheats
Submitted by Mary on 29 July 2010 - 8:20am.
Post new comment