Advertisment

Make your Own Live CD

author-image
PCQ Bureau
New Update

Kadischi is a tool with which you can modify your existing FC installation and create a Live CD. So let’s assume that you have a network troubleshooting tool for your organization which runs on Fedora Core. If you want to use it to resolve client machine problems, all you have to do is to use Kadischi to create the Live CD out of your installed FC, which already has the tool installed. And after doing this, take the Live CD with the tool to any client machine and run the tools that you have added. But if you are new to Linux, making a live CD with default options and components will be the best option. To automate the boot process you have to modify the kickstart file to some extent, else it will always go to the firstboot screen during the booting process. And this will happen each time you boot the machine with the Live CD, not desired for a live Linux distro.

Advertisment
Direct Hit!
Applies To:

IT managers



Price: Free


USP: Make your own customized live CD


Primary Link:
http://fedoraproject.org/wiki/Kadischi
Google Keywords:

Kadischi, Live CD On PCQ Professional CD: System\Labs\Kadischi

3.0-1.2007327CVS.i386.rpm

You can build a customized live CD with the help of a single line command. What you have to do is to specify the path to the repository and the path where the image will be built at the command line, and burn it to a CD or DVD, depending on the size of the ISO. Please note that it doesn’t work on XEN kernel and gives an error, ‘Could not determine the kernel version.’ It also requires anaconda, busybox-anaconda and squashfs-tools for its installation. Now this is how you do it. First, get Kadischi installed on your Fedora Core (we tested it on FC6). You can get it from Fedora project website. For PCQLinux user, an rpm is provided on this month’s PCQ Professional CD. Now after you have downloaded the rpm to your machine, run the following command on the terminal to install Kadischi:

#rpm -ivh kadischi-3.0-1.20070327cvs.i386.rpm

Advertisment

Once Kadischi is installed, you can make your own live CD. First of all, you have to create your repository or you can specify the path to an already created repository on the local disk, or on the HTTP or FTP server. For creating your own repository, you need to copy all the rpms from the Fedora DVD to a specific directory. For example, create a directory named ‘livecd’ on desktop by running the following command:

#mkdir /root/Desktop/livecd

Make two more sub-directories inside the newly created livecd folder.

Advertisment

#mkdir /root/Desktop/livecd/rpms



#mkdir /root/Desktop/livecd/base

Now, copy all the contents inside the rpm directory and copy all the files that are provided inside the base directory on the Fedora core CD to /root/Desktop/livecd/rpms and /root/Desktop/livecd/base folders respectively. Then make your own repository by issuing the following command:

#createrepo -g /root/Desktop/livecd/base/comps.xml /root/Desktop/livecd/

Advertisment

Once the repository is created write the following command to create your live CD ISO:

#kadischi /root/Desktop/livecd /root/Desktop/livecd.iso

Well, it takes time to create the live CD. Once the ISO is created, write it to a CD or DVD as per your convenience. And finally your live CD is ready to boot up.

Advertisment