
A few hours ago, the first version of Kali Linux 2025 was released , specifically Kali Linux 2025.1a. It's a Linux distribution for ethical hacking, and you can perform tests like system penetration testing. The downside is that it's not a distribution designed for daily use, and it's not worth having installed on a production machine. Or at least, that's what many of us think. So what can you do? Well, one option is to install Kali Linux in a virtual machine.
It's not the only option. The Kali Linux installer, based on Debian's, allows you to install the operating system on an external drive, like a USB flash drive, without touching the hard drive, but I did it on my Steam Deck and one day it just wouldn't boot anymore. Perhaps the best solution, if you're not using it natively, is to use a Live Image on a USB flash drive or use a virtual machine. What we're going to explain here is how to do it in GNOME Boxes , although the method will be similar in VirtualBox or any other virtualization software.
If you're wondering why not use Distrobox , well, I'd say it's not the best option. It doesn't always have easy access to the network card, and it's quite unreliable.
Installing Kali Linux on GNOME Boxes
To perform the installation, we will follow these steps:
- Let's go to the project's download page.
- There we click on the virtual machines section, or if you prefer click on this link to go directly.
- It is said that any of the images will work, but I would choose the VirtualBox one, or failing that, the QEMU one.
- The file is compressed, so you'll need to decompress it with your favorite decompressor. It will take a while, as the image size is well over 10GB.
- We'll get a folder with two files, one with the .vdi extension and the other with the .vbox extension. The one we're interested in is the first one.
- Now we open GNOME Boxes and click on the plus symbol.
- In the drop-down menu, we choose “Install from a file”.
- A browser dialog box will open and we need to select the .vdi file that came in the compressed file.
- In the next window:
- In "Name," we leave it as is or enter a name to better identify the system. This name can be changed later from the overview, where the "boxes" appear.
- Under "Operating System," we can specify a base, but it's not required. If you choose one, Debian Testing is the most recommended.
- In "Resources," we can give it the RAM and storage we want. Since I have plenty of space, upgrading to 30GB of disk space and 8GB of RAM is fine for me.
- With our selection, we click Create. At the time of writing, it begins importing the image, but not without displaying an error below indicating a failure. We can ignore it because it will work. We'll wait for the import to finish and launch the image.
When the import is complete and the operating system boots, the username and password will be "kali" without the quotes.
Add network card and other settings
The operating system would already be running in the most optimized way possible—that's what virtual machine images are for—but it wouldn't be complete. GNOME Boxes, like VirtualBox, connects to the internet as if it were through an Ethernet port, so it can't use graphics cards in monitor mode and such. For that, we need an external card. There are many available, and practically any will do. I have this TP-Link one, which I bought for a laptop without 5GHz band support.
The connection is very simple:
- First of all, we connect the card to the host computer.
- Then we click on the three dots and then on “Preferences.”
- In the pop-up window, click on "Devices and Sharing" and then turn on the switch for our card.
And we would already have everything necessary to carry out our tests.
As a recommended extra step, in the dragon's start menu, we search for "Display" and in "Resolution" we choose one that looks better than what is displayed by default.
Another thing we can do is set the keyboard to our language. To do this, from the menu, search for "Settings Manager," then "Keyboard," and then "Layout." Disable the switch that says "Use system default," and at the bottom, choose your language, in my case, "Spanish." The rest of the languages can be deleted.
System in Spanish?
What about changing the rest of the system to another language? It's NOT RECOMMENDED . The reason is the same as when learning code, but it's even more important here. Virtually all the documentation shows the tools in English, and I can tell you that having them in another language is confusing. If you still want to change it, you have to type ` sudo dpkg-reconfigure locales` and choose the language in question. For Spanish (Spain), you have to uncheck the default English and choose es_ES.UTF-8 UTF-8 . Restarting will also change the folder names. But like I said, I don't recommend it.
And that's how we can run Kali Linux in a virtual machine on GNOME Box. For VirtualBox, it's pretty much the same, but the screenshots and options would be slightly different.
Table of Contents







