In a previous article, we saw how to create kvm virtual machines from the command line; in this tutorial, instead, we learn how to access and modify virtual machines disk images, using some utilities which are part of the libguestfs package on the most commonly used Linux distributions. Those tools let us perform a variety of tasks.
virtualization
Install VirtualBox on Ubuntu 22.04 Jammy Jellyfish Linux
The objective of this tutorial is to install VirtualBox on Ubuntu 22.04 Jammy Jellyfish. VirtualBox is a free and open source hosted hypervisor for x86 virtualization developed and maintained by the Oracle Corporation.
How to connect to VirtualBox via SSH
After installing a Linux distribution in Oracle VirtualBox, you may be wondering how you can SSH from the host operating system into the virtual machine. After all, SSH is a great way to access and manage the system on command line.
Install VirtualBox Guest Additions on Linux guest
If you’re running Linux inside a VirtualBox virtual machine, installing the Guest Additions software will help you get the most out of the system. VirtualBox Guest Additions will give the machine more capabilities, such as a shared clipboard with the host system, drag and drop file transfer, time synchronization, shared folders, automatic window resizing, and more.
VirtualBox increase disk size on Linux
In this tutorial you will learn how to increase disk size on VirtualBox. One of the great things about installing an operating system into a virtual machine is that we can easily change the machine’s CPU utilization limit, its memory usage, and the amount of hard drive space it has. With VirtualBox, all of these hardware specifications can even be changed long after the virtual machine is created.
Virtualbox Guest additions installation on Fedora Linux
If you’re running Fedora Linux inside a VirtualBox virtual machine, installing the Guest Additions software will help you get the most out of the system. VirtualBox Guest Additions will give the machine more capabilities, such as a shared clipboard with the host system, drag and drop file transfer, and automatic window resizing.
This makes copying data to and from a host system much more convenient. It also changes the VM’s resolution automatically when its window is resized, so you don’t need to change it manually. Guest Additions will work with just about any Linux distribution, but instrutions can differ because of dependencies and package managers.
In this guide, we’ll be going over the step by step instructions to get VirtualBox Guest Additions installed on Fedora Linux. With these instructions, it doesn’t matter what host system you’re using, as long as the virtual machine is running Fedora. This guide assumes that you’ve already installed Fedora in the VM correctly.
In this tutorial you will learn:
- How to install VirtualBox Guest Addition on Fedora
How to configure shared VirtualBox folder on Linux
After installing a Linux distro into a VirtualBox virtual machine, you may be wondering how to share files between the host operating syste and the virtual machine itself. One of the easiest and most convenient ways to provide this function is by setting up a VirtualBox shared folder.
Essentially this means that a folder on your host machine can be mounted on the virtual machine, where both systems will be able to access files or drop them in the folder. It doesn’t matter what host operating system you’re using, as the instructions will be the same across Linux, Windows, etc.
In this guide, we’ll go through the step by step instructions to configure a shared VirtualBox folder. We’ll also show you how to mount the shared folder on your Linux system, allowing you to easily share files back and forth.
In this tutorial you will learn:
- How to configure a shared VirtualBox folder on Linux
- How to mount a VirtualBox shared folder
How to use bridged networking with libvirt and KVM
Libvirt is a free and open source software which provides API to manage various aspects of virtual machines. On Linux it is commonly used in conjunction with KVM and Qemu. Among other things, libvirt is used to create and manage virtual networks. The default network created when libvirt is used is called “default” and uses NAT (Network Address Translation) and packet forwarding to connect the emulated systems with the “outside” world (both the host system and the internet). In this tutorial we will see how to create a different setup using Bridged networking.
In this tutorial you will learn:
- How to create a virtual bridge
- How to add a physical interface to a bridge
- How to make the bridge configuration persistent
- How to modify firmware rules to allow traffic to the virtual machine
- How to create a new virtual network and use it in a virtual machine
How to run the Raspberry Pi Os in a virtual machine with Qemu and Kvm
Although many operating system are available for the Raspberry Pi, the official one is the Raspberry Pi Os. The operating system is made to run for the arm architecture, and can be easily installed on the SD card which will be used as the main Raspberry Pi storage device. Sometimes we may want to perform some tests or try some applications without having a physical Raspberry Pi machine; in this tutorial we will see how we can create a virtual machine with the Raspberry Pi Os system using Qemu and Kvm (Kernel Virtual Machine).
In this tutorial you will learn:
- How to install qemu and kvm
- How to download and check the integrity of the latest Raspberry Pi Os version (Buster)
- How to run the Raspberry Pi Os in a virtual machine
How to install VMware Tools on Kali Linux
If you’re running Kali Linux inside a VMware virtual machine, installing the VMware Tools software will help you get the most out of the system. VMware Tools will give the machine more capabilities, such as a shared clipboard with the host system, drag and drop file transfer, and automatic window resizing.
This makes copying data to and from a host system much more convenient. It also changes the VM’s resolution automatically when its window is resized, so you don’t need to change it manually. VMware Tools will work with just about any Linux distribution, but instructions can differ because of dependencies and package managers. Normally, Kali will automatically detect what platform the operating system has been installed on, and will include VMware Tools (if applicable) by default. If yours isn’t working or you just need to know how to use the features, we’ve got you covered in this guide.
In this guide, we’ll be going over the step by step instructions to get VMware Tools installed on Kali Linux. With these instructions, it doesn’t matter what host system you’re using, as long as the virtual machine is running Kali. This guide assumes that you’ve already installed Kali in the VM correctly.
In this tutorial you will learn:
- How to install VMware Tools on Kali Linux
How to install VirtualBox guest additions on Kali Linux
If you’re running Kali Linux inside a VirtualBox virtual machine, installing the Guest Additions software will help you get the most out of the system. VirtualBox Guest Additions will give the machine more capabilities, such as a shared clipboard with the host system, drag and drop file transfer, and automatic window resizing.
This makes copying data to and from a host system much more convenient. It also changes the VM’s resolution automatically when its window is resized, so you don’t need to change it manually. Guest Additions will work with just about any Linux distribution, but instructions can differ because of dependencies and package managers. Normally, Kali will automatically detect what platform the operating system has been installed on, and will include Guest Additions (if applicable) by default. If yours isn’t working or you just need to know how to use the features, we’ve got you covered in this guide.
In this guide, we’ll be going over the step by step instructions to get VirtualBox Guest Additions installed on Kali Linux. With these instructions, it doesn’t matter what host system you’re using, as long as the virtual machine is running Kali. This guide assumes that you’ve already installed Kali in the VM correctly.
In this tutorial you will learn:
- How to install VirtualBox Guest Addition on Kali Linux
Install VirtualBox Guest Additions on openSUSE
If you’re running openSUSE inside a VirtualBox virtual machine, installing the Guest Additions software will help you get the most out of the system. VirtualBox Guest Additions will give the machine more capabilities, such as a shared clipboard with the host system, drag and drop file transfer, and automatic window resizing.
This makes copying data to and from a host system much more convenient. It also changes the VM’s resolution automatically when its window is resized, so you don’t need to change it manually. Guest Additions will work with just about any Linux distribution, but instrutions can differ because of dependencies and package managers.
In this guide, we’ll be going over the step by step instructions to get VirtualBox Guest Additions installed on openSUSE. With these instructions, it doesn’t matter what host system you’re using, as long as the virtual machine is running openSUSE. This guide assumes that you’ve already installed openSUSE in the VM correctly.
In this tutorial you will learn:
- How to install VirtualBox Guest Addition on openSUSE