Surely you will be creating a lot of VMs and will need easy access to ISO disks. There are several ways to mount installation disks to a KVM virtual machine: physical media or more likely, ISO images. For our remote server, we create another storage pool and put our ISO images there.
This guide assumes you have already installed Virtual Machine Manager, connected to your KVM server, and have a user account on your KVM server with
sudo privileges. The example KVM server used here is named
ubuntu-mockup. The GUI steps presented here are performed on
mint-mockup and the shell commands given in this guide are executed on
ubuntu-mockup unless indicated otherwise
First, let us find out where the KVM server is storing VM disk image files. Right-click on the connection and choose “Details”
As you can see, the default location for VM disk storage is
We create our ISO storage pool directory at
/var/lib/libvirt/iso and set the correct permissions.
sudo mkdir /var/lib/libvirt/iso
sudo chmod 711 /var/lib/libvirt/iso
Back at VMM, we create a new storage pool.
There are a lot of options for KVM storage pools. For our ISO area we just use the “dir: Filesystem Directory” option and name it “iso”
On the next page, we designate where the ISO images will be located and enter
The “Browse” button does not seem to work when running VMM remotely.
We now have a new storage pool created for our ISO images.
With this new storage pool, it might be helpful to test it by downloading Ubuntu Server 16.04.3 to your KVM server