Virt-Manager

Table of Contents

Home DTOS Knowledge Base Community Contribute Support DT’s Work

Install Virt-Manager

In Arch Linux:

sudo pacman -S qemu virt-manager ebtables

libvirtd

Enable libvirtd

Enable and start libvirtd with systemd:

sudo systemctl enable libvirtd
sudo systemctl status libvirtd

Other useful systemd commands to know include:

sudo systemctl stop libvirtd  ## stop the service
sudo systemctl restart libvirtd  ## restart the service

Add your user to the libvirt group

Run the following command to add your user to the libvirt group:

sudo usermod -G libvirt -a your_username

Convert VirtualBox images to Qcow2

Many virt-manager users also sometimes create virtual machines in VirtualBox. And sometimes you want to be able to convert your VirtualBox images (vdi) to the format that virt-manager uses (qcow2). The following is an example of converting a VirtualBox VM named “Ubuntu 20.04” (notice the space in the name) over to the qcow2 format:

sudo qemu-img convert -f vdi -O qcow2 Ubuntu\ 20.04.vdi /var/lib/libvirt/images/ubuntu-20-04.qcow2

Enable Virtualization In BIOS

Enable virtualization in your computer’s BIOS settings, since it is usually disabled by default. To get into the BIOS, restart your computer and at the first boot screen, hit the appropriate key to get into the BIOS (it should tell you the key to hit onscreen). Typically, the key is F2 or DEL, but it could be another key depending on the motherboard. Once in the BIOS, look for a setting for SVM and set it to enabled.

Author: Derek Taylor

Created: 2021-08-27 Fri 15:34