Here we will create a new VM for KVM using the VMM GUI.
This guide assumes you have already installed Virtual Machine Manager. The example KVM server used here is named
After selecting the remote KVM server in the list, from the top menu, choose “File” -> “New Virtual Machine” or click the icon.
There are several ways in which to install a new VM on KVM through VMM. For our Ubuntu Server install, we will use the “local install” method, where “local” here means either a removable storage like CD or DVD on the Linux Mint client workstation, or an ISO image from a storage pool on the remote KVM server.
We use the “ISO image” for our installation media.
Select our previously-created “iso” storage pool and downloaded Ubuntu Server 184.108.40.206 ISO image.
We choose the “OS type” as “Linux” and “Version” as “Ubuntu 16.04”
You can set whatever RAM amount you like that meets minimum requirements for Ubuntu Server. For our install, we choose 4GB RAM and 4 CPU’s for this VM.
VMM shows the maximum RAM and CPUs based on capabilities of the remote KVM.
For disk storage, we can either create a disk image now or select an existing one.
If you let VMM to create a disk image, it will completely allocate the disk space configured and probably unnecessarily use a lot of host disk space on your remote KVM server. VMM does not seem to be able to create a dynamic space allocation disk image
We choose the “Select or create custom storage” option to choose our dynamic disk.
Select the disk image created earlier.
Its capacity is 30 GB but we know the actual space on the host currently used by this disk image is about 0 GB due to dynamic space allocation.
Now that we have our disk image selected, we are ready to complete the basic settings for our new VM.
Name the VM something useful. This is the name shown in the VMM listing, so choose wisely. You can change it later if needed.
Also check “Customize configuration before install” option because we almost always need to tweak a few settings before launching the installation.
There are several pages of advanced configuration settings for the new VM.
On the “CPUs” section, checking the “Copy host CPU configuration” seems to provide the best capabilities to the new VM from your host KVM CPU.
After making changes on any configuration page, you will need to click the “Apply” button before moving on to other pages.
There will be some kind of “NIC ____” page. The choices will vary based on the actual configuration of your remote KVM server. Most likely it will default to “NAT” type. This may be OK for your purpose, but probably the “Bridge” setting is best if you need full connectivity to the VM from other machines on your network (we do).
If the “Bridge” setting is not there, you will need to make some improvements on your remote KVM server network configuration and then re-start the new VM dialogues again.
For remote console, an out-of-the-box KVM server appears to support a remote console display type of “VNC server” better than the default selection “Spice”
Now that we have all required and optional settings in place for our new VM, just click “Begin Installation” to get things started.
If all goes well, after this VM creation script runs, the Ubuntu Server installation disk image should boot.
Complete the VM setup by installing Ubuntu Server 16.04.3