In earlier days, you had to install an operating system when examining applications that cannot work on your current Operating system. However, virtualization has made things different since it is now possible to install a guest operating system on your physical machine. One of the popular tools for virtualizing is Oracle VirtualBox.It is a virtualization package for x86 computing architecture. Virtualbox acts like a hypervisor which makes it possible to create a virtual machine and run it on another operating system. Note that the operating system where the virtual box run is the host while the OS on the created Virtual machine is the guest. Thus, with VirtualBox, you can perform tasks on your guest operating system without the worry of damaging the host OS.
Features of VirtualBox
- Free and open source: You can install and use the virtual box 6.1 on your operating system for free.
- Guest additions: These are a set of tools installed on the guest operating system in a virtual box 6.1 to increase its performance.
- Snapshots: With the snapshots feature, you can save the current state of your guest machine and revert it when you get back.
- Simple and user-friendly: The installation process of a Virtual Machine in the virtual box is well guided and easy.
- Excellent hardware support: Virtualbox supports USB devices, guest SMP, multiscreen resolution, and more.
- It doesn’t require hardware virtualization: Virtualbox does not check on the features of the processor in the current hardware meaning it can run on older hardware.
- Portable: Virtual allows you to run virtual machines created on the host to another host with a different operating system. For instance, you can create a virtual machine on Windows and then run it on Linux.
Installation of VirtualBox 6.1 on Solus Linux
Before we install Virtualbox 6.1 on Solus, let’s upgrade the Solus system.
sudo eopkg upgrade
Also, install the system.devel packages from the terminal.
sudo eopkg install -c system.devel
Check on the Kernel type of your Solus system then install the corresponding Kernel headers.
For the Lts kernel use the below command to install the kernel headers.
sudo eopkg it linux-lts linux-lts-headers linux-headers
As for the Linux-current kernel, here is the command for installing the kernel headers.
sudo eopkg it linux-current linux-current-headers linux-headers
Having checked the kernel type for your Solus, head over to the Solus Software center where you will install Virtualbox 6.1. Click on activities, search for software center from applications, and click on it to open.
VirtualBox 6.1 is available on Solus software center, search it from the search bar. From the search results that will appear, choose the Virtualbox 6.1 that matches your Solus kernel. For Lts kernel choose Virtualbox-6.1.34 while for Linux Current kernel select Virtualbox-current-6.1.34.
From the window that appears, click on the install button to install the virtual box on the Solus system.
An installation confirmation screen will appear asking whether to also install Virtualbox 6.1 dependencies. Click on Install to continue with the installation.
VirtualBox 6.1 will be installed successfully on Solus.
Using Virtualbox 6.1 on Solus
To access the installed VirtualBox 6.1, click on Activities then applications, search and click on it to open.
Virtualbox 6.1 interface will appear as shown below; after it has opened up. To create a virtual machine, click on New.
I will add the Alpine operating system on Virtualbox 6.1. Hence, I will name my virtual machine Alpine-Linux.
Adjust the memory size for the virtual machine you are creating.
In the Next step, select create a virtual hard disk now.
Then select a hard disk file type you want to use on the Virtual Machine.
Choose whether you want a dynamic or fixed storage for the virtual hard disk on the physical machine.
Select the size you want for the virtual hard disk then click on create.
After clicking create, the virtual machine we have built with the Apline operating system will appear on the Virtualbox 6.1 interface.
Before the virtual machine starts, you must choose a start the disk. As an example, I will download the Alpine Iso file. You can choose the one that suits you best from the provided list. I will go with Alpine Standard x86_64.
Back to the Virtualbox 6.1 on Solus, click on settings.
From settings, select storage, followed by empty, click on the disk image and choose a disk file.
Then choose the ISO file from where you have stored it in your Solus system. Click on Open to continue.
After clicking on Open, click OK.
Now click on start to power on the Virtual machine.
Install Operating System on Virtualbox 6.1 on Solus
After starting the virtual machine you created, it will take you to install the operating system. In Alpine, login as root and click on Enter button to access the shell.
In the shell that will appear, type setup-alpine to start installing the Alpine operating system. Read through the provided prompts and give answers accordingly. Also, you can choose default settings by hitting the Enter button.
Choose the disk to be used then the installation of Alpine will take place. Reboot the operating system after installation.
After rebooting, you will log in to the shell as you named it.
From the shell, you can run commands as well as install a desktop environment.
From Virtualbox 6.1 you can power off, pause, reset or perform more settings, by right-clicking on the installed virtual machine by righ.
Install Guest Additions on Virtualbox 6.1 on Solus
The guest additions for Virtualbox 6.1 are available on the Solus software center. Choose and install the one that matches your kernel type. For Linux-current kernel install VirtualBox-guest-common and for Linux-lts kernel install virtual-guest.
Click on the install button to install virtual box 6.1 additions.
VirtualBox 6.1 guest additions will be installed successfully and display a window like the one below.
After installation, reboot your virtual machine.
Installing Virtualbox 6.1 Extension Pack on Solus
Download the Virtualbox extension pack from your Solus terminal using the following command.
Also, you can download the same file from Virtualbox’s official website. Once the extension pack has been downloaded, open it with VirtualBox.
Click on the installation button of the VirtualBox extension pack
The virtual box extension pack will install successfully. Click on Ok and continue using virtual box 6.1.
Virtualbox 6.1 is an excellent tool to install on your Solus system. As we have seen from this guide, you can install a virtual machine of your choice and start using its guest operating system from the host computer. More information is provided in this guide, go through the steps of installing Virtualbox 6.1 on Solus and have fun using it.