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 have the following command to install CentOS using the virtual vsFTP server that I have at

virt-install --name --ram 768 \
--disk path=/var/lib/libvirt/images/,size=12 \
--location -x "ks="

The ks.cfg definitely exists because wget downloads the file. I can navigate to and see ny kickstart file.

The error I get is:

ERROR    Error validating install location: Could not find an installable 
distribution at ''
The location must be the root directory of an install tree.

Is it something to do with permissions or SELinux (SELinux is Enforcing).

ls -lZ on and its subdirectories and kickstart file is this:

-rw-r--r--. root root system_u:object_r:public_content_t:s0 /var/ftp/pub/ks.cfg

Any ideas? Many thanks :).

share|improve this question
Just reading the error message, could we get a quick listing of, preferably via FTP? It's always possible that the error message means exactly what it says. – MadHatter May 16 '12 at 6:42
Does this - - have valid directory structure? Do you have those metadata files valid? – Jiri Xichtkniha May 16 '12 at 6:46
I am facing the exact same issue. I am able to access the ftp location from a web browser over the network and over a different subnet. But virt-install always give a error while trying to read the ftp location path. Is this have some thing to do with the provding a network configration options along with virt-install ? – linxsaga May 28 '12 at 18:31
up vote 4 down vote accepted

Are the ISO images available as described in the Preparing for a Network Installation section of the Installation guide?

The installer is not complaining about the kickstart file but about a missing installation tree.

share|improve this answer

My guess is that you copied over the files from your source DVD, but missed the ".discinfo" file. Kickstart will not recognize an installation source without this hidden file.

share|improve this answer

Check to make sure that iptables is not causing any problems. A simple way to check is to flush all settings by running:

iptables -F

If it runs after doing that, then you know it is due to an iptables setting.

share|improve this answer

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.