Virtualization is a technology that creates a simulated computing environment the opposite of a physical environment. In other words, you can have a virtual operating system, a server, a storage device, or network resources that are abstracted away from underlying hardware or software. Thus a single physical computer can be partitioned into a couple of virtual machines. Each of these virtual machines will interact independently while sharing the resources of a single host machine. In this article, we will go through the installation of guest additions offered by both Virtual Box and VMWare virtual machines.
What Are VirtualBox Tools
Virtual box is Oracle’s virtualization software which is free and open source. It was introduced in 2007 and allows you to run virtual machines on the host operating system. To use your virtual machine more comfortably, you will need Virtual box guest additions enabled.VirtualBox Guest additions are a collection of device drivers and system applications designed for closer integration between the host and guest operating systems. In other words, they assist the overall interactive performance and usability of guest operating systems.
Features of VirtualBox Tools
- Mouse pointer integration.
- Drag and drop files between guest and host operating system.
- Time synchronization
- Shared clipboard
- Better video support
- Shared folders: You can exchange files between host and guest OS.
What Are VMware Tools?
VMWare is a virtualization product that allows multiple operating systems and applications to run simultaneously on one host machine.VMware has become an indispensable part of the IT infrastructure in today’s IT organizations. Remember that you will need tools that will allow the virtual machine to run appropriately. VMware tools refer to a set of utilities and drivers that enhance the performance of guest operating systems. Also, these VMware tools ensure there is effective communication between the host operating system and the guest OS.
Features of VMware
- Sharing of files and folders between host and guest operating systems.
- Improved graphics performance.
- Drag and drop operations.
- Copy and pasting of text between host and guest OS.
- Enhanced video and mouse performance.
- Shared clipboard
Install VirtualBox guest additions on Solus
On your Virtual Machine click on Devices -> Insert Guest Additions CD Image.
Find the VirtualBox CD image on Solus Files.
When you click on the VirtualBox CD image, you can see the files in the VirtualBox folder.
Go ahead, open your terminal and upgrade the Solus repositories.
sudo eopkg upgrade
Then install the system. devel packages for compiling code against a given library.
sudo eopkg it -c system.devel
Install the packages required for building external kernel modules.
sudo eopkg it linux-lts linux-lts-headers linux-headers
Then, mount the VirtualBox CD image.
After, typing the command above, you will see the directory that contains the VirtualBox CD image.
Accces the directory with VirtualBox CD image. Replace /run/media/maryndungu/VBox_GAs_6.1.30 with the location of your VirtualBox directory location path.
You can list the files in the above VirtualBox tools folder.
These are the files you will find including the ISO file we want to run.
Install the Virtual box guest additions using this command. We will install the VBoxLinuxAdditions.run as shown on the above image.
You have installed the VirtualBox Guest additions.Expect the results as shown below.
Restart your Solus System.
Test VirtualBox guest additions on Solus
To allow shared clipboard between host and guest machine, go to settings>General>Advanced and change to Bidirectional.
With the Virtual Guest Additions installed, you can perform major activities. For instance, you can copy text from the host to the Solus guest machine.
Here is the copied text on Solus Text Editor.
Additionally, you can now auto-adjust Guest Display by clicking on View from VirtualBox.
Install VMware Tools on Solus
Method 1:Using OpenVM tools
Before the installation of VMWare Tools, the Fit Guest Window is not active. It will be active after the installation of VMWare tools among other features.
On your Terminal, upgrade the repositories.
sudo eopkg upgrade
Use the below command to install VMWare OpenVM tools on Solus.
sudo eopkg install open-vm-tools
Type Yes on your terminal to continue with the installation.
Restart the VMware OpenVM tools.
sudo systemctl restart vmtoolsd.service
Then reboot your Solus system using this command.
You can now copy and paste files between host and guest OS.
Here is the shared file on the guest machine.
Method 2: Using CD-ROM
The first step is to eject the Solus CD-ROM from the files if it exists.
Then go to VM and click on the Install VMware Tools.
Open the VMware Tools CD-ROM from your Solus files.
After the folder opens up, select the folder similar to VMwareTools.x.x.x-xxxx.tar.gz and copy it to your desktop.
On your Solus Desktop, select the VMwareTools.x.x.x-xxxx.tar.gz file and click on Extract here.
The VMware-tools-distrib folder will be extracted to the Solus Desktop.
To install the VMWare tools using the CD-ROM, open your terminal. Start by upgrading your Solus system.
sudo eopkg upgrade
Note that it is necessary to create the below files before the installation of the VMWare tool with CD-ROM. We will create rc0 to rc6 by running these commands.
sudo mkdir /etc/init.d/rc0.d
sudo mkdir /etc/init.d/rc1.d
sudo mkdir /etc/init.d/rc2.d
sudo mkdir /etc/init.d/rc3.d
sudo mkdir /etc/init.d/rc4.d
sudo mkdir /etc/init.d/rc5.d
sudo mkdir /etc/init.d/rc6.d
Run the below command to navigate the VMware-tools-distrib folder.Replace VMWareTools-10.3.23-16594550 with the name of your VMwareTools.x.x.x-xxxx folder.
Install the VMware tools on Solus using this command
VMWare tools will install successfully.
Restart your machine. You can test the VMWare Tools installed via CD-ROM on Solus. Copy and paste a text between the Host and guest machine.
See the copied text on a text on Gedit text Editor.
When you install Solus guest Operating System on Virtual Machines, you should consider installing virtualization tools. Thus, in VMWare and VirtualBox, we are required to install tools that will make the guest OS perform appropriately. Use this guide and get information on how to install VMware Tools / VirtualBox guest additions on Solus. If you have any queries, feel free to leave a comment.