Skip to content

Installing QEMU/KVM, Virt-Manager, and GNOME Boxes on Debian

This guide will help you set up a virtualization environment on Debian-based systems, including Parrot OS, using QEMU/KVM, Virt-Manager, and GNOME Boxes.

First, make sure your system is up to date:

Terminal window
sudo parrot-upgrade

Install the necessary packages:

Terminal window
sudo apt install -y qemu qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils

To launch Virt-Manager, use the command:
virt-manager

To launch Gnome Boxes, use:
gnome-boxes

Check if your CPU supports hardware virtualization:

Terminal window
egrep -c '(vmx|svm)' /proc/cpuinfo

If it is ≥1, we are ready to use KVM.

Add your user to the libvirt and kvm groups

Section titled “Add your user to the libvirt and kvm groups”

This allows running virtual machines without sudo:

Terminal window
sudo usermod -aG libvirt $USER
sudo usermod -aG kvm $USER
Terminal window
virsh list --all

If there are no errors, your KVM environment is ready. You can now create and manage virtual machines using Virt-Manager or GNOME Boxes.

After installing the package, Boxes will be ready to use.

1

When clicking Create New Virtual Machine, you will have two options. Select the first one. You can use either an .iso or a .qcow2 file.

2

With the ISO selected.

3

It is important to disable automatic OS detection. You should manually select the option that best matches the distribution your ISO is based on.

At this point, your virtual machine will be created and ready to use. Of course, each user can choose the resources they want to allocate.

4

If you want to adjust additional settings from the beginning, you can open the Preferences menu.

5

6

If you want to access more advanced settings, you can do so from Edit Configuration.

6.1

6.2

7

8

Done. From here, you can follow the standard Parrot OS installation procedure.

After installing the package, Virt-Manager will be ready to use.

The steps are similar to the previous ones. Only a few-point change, which will be detailed below.

10

11

12

At this step, to avoid confusion, it is recommended to use the Browse Local option.

13

It is important to disable automatic OS detection. You should manually select the option that best matches the distribution your ISO is based on.

14

15

16

Even if it shows Debian 13, this is still our Parrot OS ISO.

If you select Customize configuration before install, you can access more advanced settings if needed.

17

18

Done. From here, you can follow the standard Parrot OS installation procedure.

If you want to access more advanced settings, double-click on your virtual machine.

19

Then click the light bulb icon next to the monitor icon.

20

You can also manage snapshots.

21

Once the changes are done, you can return to the VM start screen by clicking the monitor icon.