NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Fedora Tips and Tricks

Fedora Tips and Tricks


Building a Live Fedora CD

How to build a Fedora Live CD with Kadischi.

By Mihai Marinof, Linux Editor

12th of March 2007, 10:01 GMT

Adjust text size:


Kadischi was created in 2005 as an alternative to Pilgrim, specifically for creating Fedora based live CDs. Although it's still in early development stages, it's a very active process and we should expect a package to be available any time soon. Unfortunately, to build and install Kadischi, you'll need to download it from CVS, but don't worry, the installation steps are covered below and overall, it's a quite usable program.

Basically, Kadischi uses Anaconda to install the system in a temporary directory. It then executes the collection of scripts in order to modify the system to successfully run in a read-only environment (a CD for instance). After all modifications are complete, Kadischi creates an intrig image, then compresses the system tree and finally outputs a live ISO9660 CD image.

Setup

- Before starting, I'm assuming you have Fedora Core 6 already installed, together with a graphical interface, about 4GB free disk space and all the requirements installed. If not, to install the required dependencies, type the following command:
CODE
# yum install fedora busybox-anaconda syslinux mkisofs squashfs-tools zisofs-tools e2fsprogs createrepo yum-utils gnome-python2-extras cvs

- Check whether you have enough space available:
CODE
# df -h /

in my case, the command outputed:
CODE
filesystem Size Used Avail Use% Mounted on
/dev/hda3 44G 14G 28G 33% /

so, there are 28Gb of free disk space available under directory "/".

- Now create and populate your repository from the FC6 ISO images. I've used the DVD installation media so I wouldn't have to continuously switch through the many CDs:
CODE
# mkdir /livecd
# cp -av /media/FC6/Fedora/ /livecd
# cp -av /media/FC6/repodata/ /livecd

where /media/FC6 is the FC6 mounted DVD path.

- Download Kadischi from CVS:
CODE
# cd /livecd
# export CVSROOT=:pserver:anonymous@cvs.fedora.redhat.com:/cvs/devel
# cvs -z3 login
(press enter when prompted for password)
# cvs -z3 co kadischi

- Compile and install Kadischi:
CODE
# cd /livecd/kadischi
# ./autogen.sh
# make
# make install

- Open the file /etc/kadischi/kadischi.conf using your favorite editor (vi, nano, mcedit etc) and choose which bootloader will be used by your LiveCD. The valid options are "GRUB" or "isolinux".
CODE
# vi /etc/kadischi/kadischi.conf

BOOTLOADER=isolinux

Build the Live CD

The build process is similar to the installation process while building a system from a CD. Anaconda is detecting the hardware and the same dialogs are displayed which allow you to make selections like packages and localization. Unfortunately, this process doesn't seem to work under VMware environment.

- Start the process of configure the Live CD:
CODE
# kadischi /livecd /livecd/LiveCD-FC6-Custom.iso

- You'll now have to follow the prompts to make localization, hostname and package selection. When the process is complete, the installer will ask you to reboot, but it will actually send the process into the next step.

- Next, you will be asked about firewall, services and user configuration. It might take, however, a few minutes before reaching this state as the ISO image will be created at this point.

- Finally, you will be prompted whether or not the new ISO is to be burned. It's your choice whether or not to do it now as the ISO image will reside in the /livecd/ directory, ready to be burned at any time. After burning it, the CD is now ready to be booted from.

TAGS:

fedora | livecd | custom | packages
Read by 6,755 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Fair (2.6/5) 5 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


How to Install Video Drivers on Fedora Core 6

Screencast Guide: Capure Your Linux Desktop on Video!

Fedora Core 6 Desktop Effects with Beryl

How to Install XGL on Fedora Core

How to Install Java in Fedora Core 6

User opinions:


Comment #1 by: ahmad on 17 Aug 2008, 11:33 GMT reply to this comment

tnx for this.

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM