noautoconsole -accelerate -noapic -keymap=en-us vnc -os-type=windows -os-variant=win2k8 \ disk path=/storage/local/iso/,device=cdrom \ disk path=/storage/local/images/winserv1.qcow2,format=qcow2,bus=virtio,cache=none \ Virt-install -connect qemu:///system -name WinServ1 -ram 2048 -vcpus 2 \ Qemu-img create -f qcow2 -o preallocation=metadata /storage/local/images/winserv1.qcow2 50G # Download VIRTIO driver iso image to use during install # Place WinServ ISO into /storage/local/iso/ Add Windows virtio drivers ISO cdrom disk.Choose 'Advanced Options' -> Specify shared device name' -> Bridge name: vmbr0. Leave 'Customize configuration on' - as we need to perform some changes still.Create VM disk - default format is set in virt-manager preferences - we suggest to set it to qcow2.If choosed to browse previously then click on local-iso pool and pick needed ISO file.NB! At the moment we are standardized on using QCow2 image format - using 'preallocation=metadata' option provides better speed - so disk metadata preallocation is highly suggested!.NB! Only virtio drivers provide acceptable disk/network IO levels - so you should use them!.QEMU/KVM Windows Guests installation and management examples 26 September 2013 howto KVM Windows Guests
0 Comments
Leave a Reply. |