Before reading further... Are you looking for great Linux hosting from a company that cares about GNU/Linux? Pick Dreamhost hosting, get a 10% bonus to the disk space (and support Free Software Magazine in the meantime!)
Spin your own live CD
- 2007-06-07
-
Write a full post in response to this!
A few weeks ago, I promised to explain how to create your own custom live CD with Fedora’s new tools. Well, last week Fedora 7 was launched and all the tools you need are available in the repositories. This even includes a brand new graphical tool, put together by the people at Fedora Unity, called Revisor, which will allow you to spin your own live CD or installation material in an unbelievably user friendly manner.
To get started the first thing you’re going to need for this tutorial is Fedora 7. (The materials may be in the Fedora 6 repositories but I can’t be sure). If you’ve never used Fedora before, now is as good a time as any to download and try it: Fedora 7 is a great release, now with official live spins which fit on a single CD and come in KDE, GNOME and Xfce varieties, saving you from having to download the entire 3GB DVD.
Once you’ve got Fedora 7, you’ll want to install the tools we’re going to be using. There are a few ways you can do this:
- Open a terminal and run the command
su -c yum install revisor - Open the Add/Remove Software program from the applications menu and search for revisor, mark it for installation and click apply.
Both of these methods will not only install Revisor but fetch and install all the necessary dependencies such as Pungi and livecd-tools, which if you’re feeling adventurous can be used from the command line to achieve the same results. One application that is important to note that is installed as a dependency is Kickstart; using this you can create Kickstart files with predefined package manifests and post installation scripts to feed into Revisor if you wish.
Now you’re ready to fire up Revisor: you can find it under Applications→System Tools→Revisor. Once it’s running, click “get started” and then select the type of media you would like to create. I’m going to be spinning a live CD so, if you want to follow along, select Optical Media from under the Live Media Types section.
The next screen is slightly more intimidating. Revisor uses its own configuration file to provide the user with different options about the type of live media to create, where to find the repositories etc. You can quite happily use the default Revisor configuration, but if you want to customise the repositories to be used you’re going to have to edit a text file. Firstly, identify the configuration you’re going to use as the base: in my case f7-i386. Once you’ve done this, open a terminal and run the command su -c nano /etc/revisor/conf.d/revisor-f7-i386.conf. Change this command to make it relevant to your chosen configuration, and to utilise your favourite text editor.
It is also useful to note here that you can change the destination directory, i.e. where your finished live CD ISO will be written to. Remember this location!
In this file there are a number of yum configuration options, which, for the time being, we’re going to be ignoring. Skip down the file to where the repositories are listed, in my example file starting with [fedora]. This is where you’ll want to add any entries for other repositories you might want to use packages from, the details of which you can usually find on the appropriate website.
The next screen is where Kickstart comes in. You can use this screen to load any Kickstart file, making it easy to create the same live CD an indefinite number of times, or to base your live CD on another, saving a lot of time and effort! The Kickstart creation program can also be found under Applications→System Tools→Kickstart, but goes beyond the scope of what I’m talking about today. The quickest way to get started with live CDs and revisor is to use the sample configuration, and select the Customise package manifest defined in the Kickstart data option. This will allow you to choose any application from the Fedora repositories for inclusion in your live CD, or DVD as it may well turn out, using the same interface as Pirut (Fedora’s graphical package manager).
You can click through the next screens, until you arrive at the Building Your Media screen. Go and make yourself a cup of tea while you wait, and when you return in a while you’ll have your brand new, custom, live CD!
This was only a basic overview and I hope it’s given you a taster of what can be achieved. There are all sorts of more advanced customisations you can make, from adding post-, and pre-installation scripts to your kickstart file (you could use this to add files to the live CD’s desktop); turning off SELinux; changing firewall rules; adding your own artwork and branding; the list goes on!
Go out, have fun and remix! When you’ve created that perfect live CD let the people at Fedora know, they’ll be delighted!
Write a full post in response to this!
Similar articles
Do you like this post?
Vote for it!
Copyright information
This entry is (C) Copyright by its author, 2004-2008. Unless a different license is specified in the entry's body, the following license applies: "Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved and appropriate attribution information (author, original site, original URL) is included".
Biography
Jonathan Roberts: Currently a gap year student! I have a huge interest in Free Software which seems to keep growing. I run the Questions Please... podcast which can be found at questionsplease.org. On an unrelated note I'm reading theology at Exeter next year.
- Jonathan Roberts's posts
- Login or register to post comments
- 7942 reads
- Printer friendly version (unavailable!)




Looking for Linux hosting, reviews, coupons, etc.? See out user-voted list
Best voted contents
-
Ten easy ways to attract women to your free software project
Terry Hancock, 2008-09-22 -
A brief history of computers and free software: where is the money?
Tony Mobily, 2008-09-25 -
Free software tools for designing productive community sites
Terry Hancock, 2008-10-07 -
Spam prevention with Exim and greylistd - Part 2 - management and stats
Ryan Cartwright, 2008-09-18
Similar entries
Buzz authors
All news
Other sites
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). All about free software -- free as in freedom!
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
Linux: has the horse bolted?
Laurie Langham, 2008-09-10 -
Copyleft has no impact on project activity?!
Terry Hancock, 2008-09-10 -
How do Drigg and Pligg compare?
Tony Mobily, 2008-08-17 -
What if copyright didn't apply to binary executables?
Terry Hancock, 2008-08-29 -
Ten easy ways to attract women to your free software project
Terry Hancock, 2008-09-22
Hot topics - last 21 days
-
Ten easy ways to attract women to your free software project
Terry Hancock, 2008-09-22 -
Becoming a free software developer, part V: When and where did you learn?
Rosalyn Hunter, 2008-09-24 -
Why I choose copyleft for my projects
Ryan Cartwright, 2008-09-23 -
OpenStreeMaps: free software's answer to Google and commercially-restricted geo-data
Gary Richmond, 2008-10-02
Dedicated server
Ubuntu
Submitted by Andrew Min on Tue, 2007-06-05 14:13.
Vote!Ubuntu also has this. It's called Reconstructor: http://reconstructor.aperantis.com/
--
Andrew Min
Cool
Submitted by Jonathan Roberts on Sat, 2007-06-09 08:36.
Vote!Looks cool, I didn't realise they had that! Although, there is a difference between that and Revisor: Revisor uses the build tools used in creating the official Fedora releases, such as Pungi and livecd-tools; Reconstructor uses shell scripts in a chroot of an existing official spin.
This seems a bit pedantic to point out, but I feel the key fact of this is that *all* the tools used to build the official Fedora releases are available for anybody to use, on any system.
Jon
Linux Live for CD & USB
Submitted by Osor Hirutonis on Sat, 2007-06-23 22:06.
Vote!There is also a distribution-agnostic set of scripts that does something similar: http://www.linux-live.org
How To add artwork
Submitted by Anonymous visitor (not verified) on Sun, 2007-08-19 08:08.
Vote!You list
"adding your own artwork and branding"
As a possibility under this new software solution.
I don't care about branding, but I would like to add some artwork to my livecd.
Could you do a quick how to?