Connect with us

Hi, what are you looking for?


How to install and use GNOME boxes to make virtual machines

This quick start guide explains the steps for installing and using GNOME Boxes and creating virtual machines, and provides some tips and bug fixes.

Virtualization is the process of running a virtual (not real) instance with an abstract hardware layer. In everyday language, this means that you can install and run multiple operating systems (Linux, Windows) at the same time.

A virtual machine is a simulated operating system that runs on a different operating system and uses the same hardware and memory as the host computer. However, you can control the amount of memory or shared space that can be allocated to virtual machines.

There are several programs for creating virtual machines, such as Virtual Box, KVM, Hyper-V, VM Ware Player and GNOME Boxes.

But to be honest, most of them are difficult to exploit and sometimes not stable enough. GNOME Boxing is another free and open source software that is very easy to use and allows you to create and manage virtual machines with many options.

Installation of GNOME boxes

If you are using Fedora with GNOME Spin, you should have it installed already. However, for Ubuntu, Linux Mint, Kubuntu and other distributions you can just run it below to install it on your system.

sudo apt dwarf boxes

Creating a virtual machine with GNOME Boxes

Start the GNOME boxes from the application menu. To create a virtual machine, you need the image of the operating system (*.ISO) you want to virtualize. You can download iso images of each operating system from the official download page of the distribution. For this guide I use the Pope! OS, that’s an excellent distribution of Linux.

After starting, click on the + symbol above to start.

How to install and use GNOME boxes to make virtual machines Creating a virtual machine

In the next window, you can select the already available downloads or select your iso file as the source for the operating system. Click on the image file of the operating system and select the iso file.

Assign memory and disk space to the virtual machine. Remember that your virtual machine uses the memory and storage of the host system. So don’t try to give yourself the maximum amount. In the figure below, for example, I have allocated 2 GB of memory to the virtual machine (guest) out of the total 8 GB of memory of the host system. Also choose a minimum disk space if you only want to test an operating system. However, when you create a virtual machine for servers or legitimate work, you need to think logically about how much disk space or memory you want to allocate. Another important point to note is that the disk space you share will be permanently locked if you do not remove the virtual machine. This way, you won’t have as much disk space as free space, even if your virtual machine doesn’t use all the allocated disk space.

How to install and use GNOME boxes to make virtual machines Allocation of resources for virtual machines

Continue with the installation. In the Partition window you should see a hard disk and a partition, i.e. the disk space of the virtual machine. Don’t worry, you can play with this partition and it will not affect your physical disk partitions or data on your real host system. Follow the same /root section during the installation of Linux and continue.

Section How to install and use GNOME boxes to make virtual machines Virtual Machine

After the installation is complete, you should see your new operating system in the virtual machine. You should see a system record in the GNOME boxes. You can click once to start the virtual machine.

You can turn off the virtual machine using the internal option to turn off the virtual machine’s operating system.

If you want, you can delete the virtual machine by selecting the option from the context menu.

How to install and use GNOME boxes to make virtual machines Context menu in the installed virtual machine

You can also check the amount of memory used by your virtual machine’s processor in the Properties window. Note that you can configure both the memory and the existing virtual machines via properties.

How to install and use GNOME boxes to make virtual machines System Features


Solving a problem in virtual machines

If your virtual machine has a low resolution that is not compatible with your host system, you will need to install the following items. Open the terminal in the host system (not the host system) and execute the following commands.

For distribution based on Ubuntu

install sudo apt spice-vd agent spice-webdavd

For Fedora

install sudo dnf spice-v-dayent spice-webdavd

With these two packages you can determine the correct resolution, copy/paste between host and guest, share files via shared folders, etc.

After installation you can restart the host system; or you can log out and log in once after rebooting, you should see the correct resolution.

boxes do not run the virtual machine indistributions based on Ubuntu 18.04.

When creating a virtual machine in box 3.34, be aware that an error has occurred that prevented the virtual machine from starting up. To remedy this, you need to take a few extra steps. Remember, they’re not needed for the last 3.36 boxes.

Open the terminal window and execute the following command to change the qemu configuration file

sudo geudo /etc/modprobe.d/qemu-system-x86.conf

Insert the bottom line in the above file and save it.


Now run the command below to add your username to the KVM group.

universal-ship mode-a-G qm

If you are still experiencing problems with virtual GNOME boxed machines, please let me know via the comment field below.

For the latest tutorials, application reviews and instructions, follow the troubleshooting on Twitter and Facebook and subscribe to our YouTube channel.

How to install and use GNOME boxes to make virtual machines

Log on to our telegraph channel and stay informed.

See alsovirtualbox,gnome-boxes failed to start,virt-manager,android "gnome boxes",gnome boxes delete,fedora,gnome boxes import virtualbox,gnome boxes shared folder

You May Also Like


Introduction In previous articles we have talked about images of dockers, the origin and functioning of dockers and the dockers’ hub. In this document...


Linux desktops are good in many ways, but like Windows they are not known as the most efficient battery. This does not mean that...


The United States Supreme Court has indicated that it will finally solve a problem that has been causing legal problems for almost two decades:...


To secure your AWS assets, follow these AWS Identity and Access Management (IAM) guidelines. Locking the Root User Access Key for AWSAccount You use...