Create your own SL6 LiveCD


IMPORTANT: This description is valid for SL6 only. For SL4 and SL5 LiveCD please see Create your own SL4, SL5 LiveCD



Creating a LiveCD image with livecd-tools

Use the livecd-tools from SL 6.4 to create your own LiveCD. To install livecd-tools run as root

yum --enablerepo=sl-addons install liveusb-creator

or update to the latest version with

yum update livecd-tools

The LiveCD creation is based on kickstart configuration files. You can find the files which were used to create SL6 LiveCDs under /usr/share/livecd-tools or you can download the latest files with svn. The following command will download the kickstart configuration from trunk into a folder called livecd-config

svn co https://svn.iac.ethz.ch/pub/livecd/trunk/SL6/livecd-config

The following main kickstart files are available

sl65-livecd-gnome.ks         kickstart file used for 32-bit SL65 LiveCD with gnome desktop
sl65-livecd64-gnome.ks       kickstart file used for 64-bit SL65 LiveCD with gnome desktop
sl65-livedvd.ks              kickstart file used for 32-bit SL65 LiveDVD
sl65-livedvd64.ks            kickstart file used for 64-bit SL65 LiveDVD
sl65-mini_livecd-icewm.ks    kickstart file used for 32-bit SL65 LiveMiniCD with icewm desktop
sl65-mini_livecd64-icewm.ks  kickstart file used for 64-bit SL65 LiveMiniCD with icewm desktop
sl65-livecd-gnome-NONPAE.ks  kickstart file used for 32-bit SL65 LiveCD with gnome desktop running on non-pae capable hardware

The above kickstart files can include the following files

sl65-live-base.ks           The base for all kickstart files
sl65-extra-software.ks      Install extra software which is not part of standard SL6
sl65-config-icewm.ks        Customize icewm
sl65-doc.ks                 Creates a short documentation in /usr/share/HTML/index.html
sl65-live-NONPAE.ks         Include to build LiveCD running on non-pae capable hardware

Modify the kickstart files to fit your needs. For more information about kickstart configuration files see for example http://fedoraproject.org/wiki/Anaconda/Kickstart.

To rebuild the SL65 LiveCD, SL65 LiveDVD, and SL65 LiveMiniCD run as root

LANG=C livecd-creator --config=/usr/share/livecd-tools/sl65-livecd-gnome.ks   --fslabel=SL65-LiveCD-i386
LANG=C livecd-creator --config=/usr/share/livecd-tools/sl65-livecd64-gnome.ks --fslabel=SL65-LiveCD-x86_64
LANG=C livecd-creator --config=/usr/share/livecd-tools/sl65-livedvd.ks   --fslabel=SL65-LiveDVD-i386
LANG=C livecd-creator --config=/usr/share/livecd-tools/sl65-livedvd64.ks --fslabel=SL65-LiveDVD-x86_64
LANG=C livecd-creator --config=/usr/share/livecd-tools/sl65-mini_livecd-icewm.ks   --fslabel=SL65-LiveMiniCD-i386
LANG=C livecd-creator --config=/usr/share/livecd-tools/sl65-mini_livecd64-icewm.ks --fslabel=SL65-LiveMiniCD-x86_64

Or just use your own kickstart file

LANG=C livecd-creator --config=sl6-myconfig.ks --fslabel=My-LiveCD

livecd-creator as some more options. See livecd-creator help:

livecd-creator -h

For more information see also


Test the ISO image

You can burn your ISO image to a CD or DVD ROM to test it. However, it is much easier to test it with qemu or vmplayer

Get qemu from rpmforge (http://rpmrepo.org/).

How to run qemu (see man qemu):

qemu -m 1024 -cdrom SL6-LiveCD.iso
qemu -m 1024 -full-screen -cdrom SL6-LiveCD.iso

Escape full screen in qemu with ALT+CTRL+f

Or alternatively you can use VMware Player.




Last modified: Saturday, 15-Mar-2014 20:53:08 CET by Urs Beyerle