[one-users] Odp.: Re: VM Failed with Windows OS

Sudeep Narayan Banerjee snbanerjee at iitgn.ac.in
Wed Jul 16 02:13:03 PDT 2014


Hello Mateusz,

I have given now 17G for win7 OS.

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

[root at 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.skala at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140716/92eafd37/attachment.htm>


More information about the Users mailing list