[virt-tools-list] virt-install "Validating install media failed"

Henry Cheng hbc2048 at gmail.com
Sun Sep 15 16:36:04 UTC 2019


Hi,

I'm having trouble getting a vm going.  (This is my first time ever.  I
believe I have kvm/qemu + virt-manager tools installed correctly.)  I have
tried googling to no avail.  I've checksumed my iso image and I know it is
not corrupt.

Also, I've tried altering win10.iso line follows:
  --cdrom=/home/bill/win10.iso,device=cdrom,bus=ide \
  --cdrom=/home/bill/win10.iso,device=cdrom,bus=ide \
  --cdrom path=/home/bill/win10.iso,device=cdrom,bus=ide \
   --disk /home/bill/win10.iso,device=cdrom,bus=ide   <<< this one gives:
"An install method must be specified"

I'm not sure what " non-existent path " means below because i know that
file exists at that path.

Thanks in advance for any help!
(Also, I am doing this on a headless server so using the gui virt-manager
isn't an option.)
This is what I a getting when I try to create the vm.


$ virt-install --name=win10 \
> --ram=4096 \
> --cpu=host \
> --vcpus=3 \
> --os-type=windows \
> --os-variant=win10 \
> --disk path=/home/bill/win10.img,bus=virtio \
> --cdrom=/home/bill/win10.iso,bus=ide \
> --disk path=/home/bill/virtio-win-0.1.172.iso,device=cdrom,bus=ide \
> --network bridge=br0 \
> --graphics vnc,listen=0.0.0.0
ERROR    Validating install media '/home/bill/win10.iso,bus=ide' failed:
Must specify storage creation parameters for non-existent path
'/home/bill/win10.iso,bus=ide'.

Not sure if this makes a difference but i created  win10.img as
follows:  truncate -s 40G win10.img
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20190916/a004525d/attachment.htm>


More information about the virt-tools-list mailing list