KVM Problems On My Ubuntu Server 14.04 x64

November 5, 2015 3.8k views
DigitalOcean Applications Ubuntu

Hey Guys, i have a problem. Today i try to install a virtual machine with KVM on my Ubuntu Server 14.04. (I find this tutorial http://www.server-world.info/en/note?os=Ubuntu_15.04&p=kvm&f=2 ) But i have a problem when i'm creating the virtual machine.
I want to create a Windows Virtual Machine.
So i change something :

--name windows \
--ram 8192 \
--disk path=/var/kvm/vm/windows.img,size=100 \
--vcpus 8 \
--os-type windows \
--os-variant windows \
--network bridge=br0 \
--graphics none \
--console pty,target_type=serial \
--location '/windows2012R2.ISO' \
--extra-args ''
But when i click enter console show this error:
ERROR OS variant 'windowstopic' does not exist in our dictionary for OS type 'windows'.
What can i do? I find this tutorial for Ubuntu Servers version and i thought that work..
but it did not.


1 Answer

Hey there,

To start, you're likely to have a lot of issues running KVM on a droplet. You're trying to nest KVM inside of KVM and while DigitalOcean does not explicitly block this, it does not work very well. Nested virtualization is just rough.

The error you're getting is due to your os-type and os-variant clauses. You might want to take a look at http://thomasmullaly.com/2014/11/16/the-list-of-os-variants-in-kvm/ for more info on those.



Have another answer? Share your knowledge.