Hello Mateusz,

I have given now 17G for win7 OS.

On adding target=hda * hdb, it throws the below error.

[root@front images]# virt-install --connect qemu:///system --name win7
--ram 1024 --vcpus 2 --disk
path=/var/lib/libvirt/images/win7.qcow2,size=17,format=qcow2,bus=virtio,cache=none,target=hda
--cdrom /home/Windows-7-x86.iso,target=hdb --vnc --os-type=windows
--os-variant=win7 -noautoconsole --accelerate --noapic --keymap=en-us

ERROR    Unknown options ['target']

Regards,
Sudeep



On Wed, Jul 16, 2014 at 1:57 PM, Mateusz Skała <mateusz.sk...@budikom.net>
wrote:

>
>
> W dniu 2014-07-16 08:00, Sudeep Narayan Banerjee napisał(a):
>
>  Dear Mateusz,
>>
>> Thanks for replying. Is the below command correct?
>>
>> [root@front ~]# virt-install --connect qemu:///system --name win7
>> --ram 1024 --vcpus 2 --disk
>> path=/var/lib/libvirt/images/win7.qcow2,size=7,format=
>> qcow2,bus=virtio,cache=none
>> --cdrom /home/Windows-7-x86.iso --vnc --os-type=windows
>> --os-variant=win7 -noautoconsole --accelerate --noapic --keymap=en-us
>>
>>
> try to add target=hda, for example:
>
> virt-install --connect qemu:///system --name win7 --ram 1024 --vcpus 2
> --disk path=/var/lib/libvirt/images/win7.qcow2,size=7,format=
> qcow2,bus=virtio,cache=none,target=hda --cdrom 
> /home/Windows-7-x86.iso,target=hdb
> --vnc --os-type=windows --os-variant=win7 -noautoconsole --accelerate
> --noapic --keymap=en-us
>
> If You are using virtio then drivers for this bus will be needed, so You
> need add floppy drive with drivers.
>
>
>
>  The win7.qcow2 image is prepared under /var/lib/libvirt/images folder
>>
>> [root@front images ~]# qemu-img create -f qcow2 -o
>> preallocation=metadata /var/lib/libvirt/images/win7.qcow2 7G
>>
>>
>
> Only 7G for win7 os device?
>
>
>  Or how do I tweak it?
>>
>> Regards,
>> Sudeep
>>
>>
>


-- 
Thanks & Regards,
Sudeep Narayan Banerjee
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to