Doing a virsh-install with a debian image, specifically debian-7.8.0-amd64-netinst.iso, I was getting the following error:
ERROR Could not find an installable distribution at ‘/home/vm/debian-7.8.0-amd64-netinst.iso’
The location must be the root directory of an install tree.
After trying a number of things, including trying different path locations like /cdrom, it turns out the virsh-install command prefers “-c” instead of “–location” for this ISO! This is similar also to the WindowsXP ISO. So the following worked for me:
virt-install –name=vm_deb1 –ram=8192 –vcpus=1,cores=1 \
–disk path=/home/vm/vm_deb1.img,size=60 –network bridge=br0 \
-c /home/vm/debian-7.8.0-amd64-netinst.iso –os-type=linux –os-variant=debiansqueeze \