Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install a CentOS OS with kickstart using HTTP as the installation source. The kickstart server and the installed server are both running on VMs on the same machine. after the anaconda system installer starts it fails with the following message:

enter image description here

I tried installing two different versions of Centos(5.5 and 5.2), and they both pass a CDROM media test the manual installation provides.

The only errors on the kickstart server side are some errors in the httpd log I consider irrelevant:

[Sat Mar 12 23:25:19 2011] [error] [client] File does not exist: /tftpboot/linux-install/platforms/CentOS5.5/images/product.img
[Sat Mar 12 23:25:19 2011] [error] [client] File does not exist: /tftpboot/linux-install/platforms/CentOS5.5/disc1

I tried searching the internet for days and haven't found any solution...

Does anyone have any idea?

share|improve this question

You need to mount each CD on your webserver and enter the URL to the directory containing them.

Let's assume has a document root of the directory /var/www/html/, you want to make the installation material available at and you have the installation images in /var/isos. On your webserver you would run

mkdir -p /var/www/html/centos5/disk1
mount -o loop /var/isos/disk1.iso /var/www/html/centos5/disk1/

to set up the first disk. You would repeat that for other disks, just changing the number.

Now you could boot a machine with linux askmethod. When asked for the installation method, you would choose http, specify a web site name of, and a CentOS directory of /centos5/.

share|improve this answer
I'm sorry, but I can verify from expereince that this does work. It is also described by Red Hat in my second link. To quote their documentation: "You can save disk space by using the ISO images you have already copied to the server. To accomplish this, install Red Hat Enterprise Linux using ISO images without copying them into a single tree by loopback mounting them. For each ISO image: mkdir discX; mount -o loop RHEL5-discX.iso discX Replace X with the corresponding disc number." – sciurus Jan 7 '13 at 2:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.