virt-install cannot mount virtio iso during installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi guys.

I have seen, read and test to install a windows 7 vm under centos 6 and kvm.

I have install windows under kvm a lot of times, but is my first time
with virtio.

I want to try virtio drives, I have install virtio from fedora repo,
download the iso, etc.

I have try different options trying to understand how kvm want the
option to add my virtio iso drive as cdrom.

 virt-install --name virtio --description='Windows 7 Virtio x64'
--memory 4096 --vcpus 2 --arch=x86_64 --cdrom
/var/isos/win7_prox64.iso --os-variant win7 --disk
/dev/vg_vms1/virtio,bus=virtio --disk
/opt/virtio-win-0.1.141.iso,device=cdrom,bus=ide --network
bridge=br0,model=e1000  --graphics
vnc,listen=192.168.2.16,password=cocacaco --noautoconsole --check-cpu

 virt-install --name virtio --description='Windows 7 Virtio x64'
--memory 4096 --vcpus 2 --arch=x86_64 --cdrom
/var/isos/win7_prox64.iso --os-variant win7 --disk
/dev/vg_vms1/virtio,bus=virtio --disk
/opt/virtio-win-0.1.141.iso,device=cdrom --network
bridge=br0,model=e1000  --graphics
vnc,listen=192.168.2.16,password=cocacaco --noautoconsole --check-cpu

 virt-install --name virtio --description='Windows 7 Virtio x64'
--memory 4096 --vcpus 2 --arch=x86_64 --cdrom
/var/isos/win7_prox64.iso --os-variant win7 --disk
/dev/vg_vms1/virtio,bus=virtio --disk
path=/opt/virtio-win-0.1.141.iso,device=cdrom --network
bridge=br0,model=e1000  --graphics
vnc,listen=192.168.2.16,password=cocacaco --noautoconsole --check-cpu

 virt-install --name virtio --description='Windows 7 Virtio x64'
--memory 4096 --vcpus 2 --arch=x86_64 --cdrom
/var/isos/win7_prox64.iso --os-variant win7 --disk
/dev/vg_vms1/virtio,bus=virtio --disk
/opt/virtio-win-0.1.141.iso,device=cdrom,bus=ide --network
bridge=br0,model=e1000  --graphics
vnc,listen=192.168.2.16,password=cocacaco --noautoconsole --check-cpu
etc etc.

Once I remove my 2nd disk my installation goes well, but my object is
to try virtio drives.

Every time I try windows boot say :

boot failed : could not read from CDROM(code 0004)

Can some one point where is my error and fix my parameters, I will
appreciated and ready to learn more, thanks for your time!!!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux