Installing CentOS from the LiveCD
Several LiveCD distributions are offering the ability to install the OS contained on the LiveCD directly to the hard drive. For example, both LiveCD from Ubuntu and Fedora are including the installer option.
The Fedora livecd-tools project (on top of which the Fedora and the CentOS LiveCD are built) includes such a feature. However, it requires a newer version of the anaconda package than the one provided by the CentOS 5 official tree. Since CentOS is supporting its packages for 7 years, introducing a new version of a critial package such as anaconda and providing support for it would be unrealistic. Hence, the official CentOS LiveCD is not going to support installation to the hard drive.
However, if you want to create your own CentOS LiveCD including the option to install to the hard drive, this section regroup the information to guide you through the process.
Kickstart configuration file
A kickstart configuration files using an unsupported yum repository is required. This configuration file features a newer anaconda package and its dependencies.
Here is the latest version of the configuration file:
Creating a LiveCD image
The creation of a the LiveCD image is done with this command:
# LANG=C livecd-creator --config=centos-livecd-installer.ks --fslabel=CentOS-5.2-installer
The resulting LiveCD image is named CentOS-5.2-installer.iso.
After creating the LiveCD image file, the next step is to burn it to a CD-ROM or transfer it to a USB key.
The use of the LiveCD as a way to install CentOS 5 on a system is not supported. This guide is provided for system administrators who may find the resulting LiveCD useful for their own usage.