Dear Mateusz & All, I tried a lot but looks like I am not able to figure out.
Again the VM says "No bootable device" gpxe searching for bootdisk from HDD/Floppy/DVD-CD" etc. But it is running fine from frontend mode "virt-viewer -c qemu:///system myvm3" I tried to virtually mount the iso in the CD drive but that too did not help. I have also tried the interactive setup: virt-install --prompt --> that too does not work when I instantiate in OpenNebula VM. I have also tried to write the template in Advanced Tab in OpenNebula following [1] but I am failing. [1] *http://wiki.ieeta.pt/wiki/index.php/OpenNebula#SetupComplete.cmd <http://wiki.ieeta.pt/wiki/index.php/OpenNebula#SetupComplete.cmd>* Regards, Sudeep On Wed, Jul 16, 2014 at 2:43 PM, Sudeep Narayan Banerjee < snbaner...@iitgn.ac.in> wrote: > 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 > -- Thanks & Regards, Sudeep Narayan Banerjee
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org