Working with gnome-boxes

In my PC I’ve worked with Virtual box for years. Then virtual box, for some reason, was removed from the Debian repository. As I wasn’t using those VMs for something critical I’ve just didn’t bother to find out why or to search some alternate repo. Few months ago I need some virtual machines on my PC, so I began working with gnome-boxes.

Installing

Gnome Boxes was initially introduced as part of Gnome 3.3, if you this is desktop you may already have it.

Iinstall in Debian based distributions you can with:

sudo apt-get install gnome-boxes

For Fedora based distributions:

sudo dnf -i gnome-boxes

For other distros or other package systems, refer to the manual.

Working with gnome-boxes

working with gnome-boxes
gnome-boxes initial screen with a shuted down ubuntu VM

Launch it from the menu or the command line (gnome-boxes). The fun starts when you click on the big plus button at the top-left of the screen. You’ll be presented with the following screen to choose the most popular distributions to install:

Most popular according to gnome-boxes of course

You don’t even have to search for an ISO file and download it! But if you don’t want RedHat or Fedora, you can click on Operating System Download and choose between a lot of Operating Systems and distributions:

You can even choose and install DOS with gnome-boxes.
You can even choose and install DOS with gnome-boxes.

In fact, I’ve choosen FreeDOS to get the screenshots of this blog entry. Anyway, click on any OS distro and version you want in the presented list, and the download will begin:

Downloading DOS

Wait until the download is over and you could customize a little the new VM:

This settings are more than OK for DOS. For other OSes click on Customize

There aren’t may things you can change from here:

When you set the memory and disk size click on create and your virtual machine will be ready to install:

about to install an operating system

And this is (almost) it. After the installation you can right-click the VM and change other settings like CPU assignment or if the machine will run on background:

working with gnome-boxes
also you can monitor the resources use from this screen.

On the next tabs you can share usb with just one click, mount compact disks/dvd/iso images, an on the last one create Snapshots.

Other features

Let’s back to the first VM creation screenshot. What if there aren’t an Operating System you want to try or there aren’t the version you need?. Is not that fun but you can search and download the ISO to install it by yourself.

Click there to provide your downloaded ISO.

You want more advanced options than just assign memory, cpu and disks? for example, if you want to set bridge networking, you have two options here:

  • edit the xml file:
this is the super advanced power user option
  • gnome-boxes is a front-end for Qemu with KVM and Libvirt. You can install another more advanced frontend like virt-manager to tweak all the options available without editing the xml file:
not working with gnome-boxes (but with virt-manager)
the same options as the above xml file.

Conclusion

I’ll be working with gnome-boxes for “light” desktop pc virtualization. I don’t think I’m going back to virtualbox, at least for a while.

By the way, for my servers I’m still using ESXi or XenServer.

Gonzalo Rivero
I am Gonzalo, I live in Salta, a city located in the NW of Argentina. I play the guitar and a little harmonica. I also like to bike.

1 COMMENT

  1. […] couple of weeks ago, I’ve wrote an article about how I’m (kinda) in love with gnome boxes. Well, I’m still working with gnome boxes every day. And that simpleness I’m kinda in […]

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

You might also likeRELATED

User interfaces with dialog. Bash scripting(IV)

This is the last article of a series focused in Gnu Bash scripting. On the first article we've just created a simple script with...

Bash scripting(III)

This is the third article of a series focused in Gnu Bash scripting. On the first article we’ve just created a simple script with...

Bash scripting(II)

This is the second article of a series focused in Gnu Bash scripting. On the first bash scripting article we've just created the most...