Install VirtualBox Guest Additions on Garuda|EndeavourOS

In today’s guide, We’ll show you how to install Virtual Box Guest Additions on Garuda | Endeavour operating systems. The VirtualBox Guest Additions are a set of utilities that may be installed within a virtual machine. They are made up of device drivers and system programs that improve the performance and usability of the guest operating system.

VirtualBox Guest Additions Features

Below are the features of VirtualBox Guest Additions:

  • Seamless windows: With this capability, individual windows from the virtual machine’s desktop may be mapped to the host’s desktop, as if the underlying program were truly running on the host.
  • Oracle VM VirtualBox may guarantee that the guest’s system time is better synced with that of the host by installing the Guest Additions.
  • Shared folders: These make it simple for the host and the visitor to share files.
  • Integration of the mouse pointer: Provides seamless mouse support. You won’t need to hit the Host key to release the mouse from the guest OS’s grasp.
  • It has improved video support: As if you had explicitly selected an arbitrary resolution in the visitor’s Display settings, the video resolution in the guest will be automatically changed.
  • The clipboard of the guest operating system can be shared with your host operating system if you have the Guest Additions installed.
  • Automated guest logins are possible thanks to the Guest Addition modules.

Install VirtualBox Guest Additions on Garuda or Endeavour OS

Follow the steps below to install Virtualbox guest additions on both Garuda and Endeavour Linux.

We are going to install Virtualbox Guest Additions using two method:

  1. Using Garuda | Endeavour provided packages.
  2. Installing Virtualbox Guest Additions manually.

Method 1: Use Garuda | Endeavour provided Packages

First update the system packages to the latest version:

sudo pacman -Syu

Reboot your system:

sudo reboot

Now, install virtualbox-guest-utils package:

sudo pacman -S virtualbox-guest-utils

Accept the installation prompt to proceed:

resolving dependencies...
looking for conflicting packages...

Packages (1) virtualbox-guest-utils-7.1.6-1

Total Installed Size:  4.57 MiB
Net Upgrade Size:      0.46 MiB

:: Proceed with installation? [Y/n] y

Reboot your machine after installation:

sudo reboot

Method 2: Install VirtualBox Guest Additions on Garuda | Endeavour OS Manually

To install Virtualbox Guest Additions manually, Check the list of installed Linux kernels to see which one is active:

$ mhwd-kernel -li
Currently running: 6.10.13-3-MANJARO (linux610)
The following kernels are installed in your system:
   * linux610

The above output shows that linux610 kernel headers is installed in our system.

On top of the VM navigate to Devices -> Insert Guest Additions CD Image…

Check the disk mount point VirtualBox Guest:

$ df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
dev            devtmpfs  1.3G     0  1.3G   0% /dev
run            tmpfs     1.3G  1.3M  1.3G   1% /run
/dev/sda1      btrfs      31G  8.1G   23G  27% /
tmpfs          tmpfs     1.3G     0  1.3G   0% /dev/shm
tmpfs          tmpfs     1.3G  4.0K  1.3G   1% /tmp
/dev/sda1      btrfs      31G  8.1G   23G  27% /srv
/dev/sda1      btrfs      31G  8.1G   23G  27% /home
tmpfs          tmpfs     1.3G  432K  1.3G   1% /home/guest
/dev/sda1      btrfs      31G  8.1G   23G  27% /root
/dev/sda1      btrfs      31G  8.1G   23G  27% /var/tmp
/dev/sda1      btrfs      31G  8.1G   23G  27% /var/log
/dev/sda1      btrfs      31G  8.1G   23G  27% /var/cache
tmpfs          tmpfs     262M   96K  262M   1% /run/user/1000
/dev/sr0       iso9660    59M   59M     0 100% /run/media/cloudspinx/VBox_GAs_7.1.6
/dev/sda1      btrfs      31G  8.1G   23G  27% /run/timeshift/backup

Change to VirtualBox Guest additions disk mount point:

cd /run/media/frank/VBox_GAs_*/

Check the installation scripts in the directory:

$ ls -l
dr-xr-xr-x     - cloudspinx 13 Feb 19:51  cert
dr-xr-xr-x     - cloudspinx 13 Feb 19:51  NT3x
dr-xr-xr-x     - cloudspinx 13 Feb 19:51  OS2
.r--r--r--   763 cloudspinx 13 Feb  2020  AUTORUN.INF
.r-xr-xr-x  6.4k cloudspinx 13 Feb 19:44  autorun.sh
.r-xr-xr-x  4.8k cloudspinx 13 Feb 19:44  runasroot.sh
.r--r--r--   547 cloudspinx 13 Feb 19:51  TRANS.TBL
.r--r--r--  4.0M cloudspinx 13 Feb 19:47  VBoxDarwinAdditions.pkg
.r-xr-xr-x  3.9k cloudspinx 13 Feb 19:44  VBoxDarwinAdditionsUninstall.tool
.r-xr-xr-x  7.4M cloudspinx 13 Feb 19:45  VBoxLinuxAdditions.run
.r--r--r--  9.4M cloudspinx 13 Feb 19:42  VBoxSolarisAdditions.pkg
.r-xr-xr-x   17M cloudspinx 13 Feb 19:48  VBoxWindowsAdditions-amd64.exe
.r-xr-xr-x 10.0M cloudspinx 13 Feb 19:46  VBoxWindowsAdditions-x86.exe
.r-xr-xr-x  271k cloudspinx 13 Feb 19:45  VBoxWindowsAdditions.exe

Install VirtualBox Guest Additions by running VBoxLinuxAdditions.run script:

$ sudo ./VBoxLinuxAdditions.run
[sudo] password for cloudspinx:       
Verifying archive integrity... All good.
Uncompressing VirtualBox 7.1.6 Guest Additions for Linux........
VirtualBox Guest Additions installer
This system appears to have a version of the VirtualBox Guest Additions
already installed.  If it is part of the operating system and kept up-to-date,
there is most likely no need to replace it.  If it is not up-to-date, you
should get a notification when you start the system.  If you wish to replace
it with this version, please do not continue with this installation now, but
instead remove the current version first, following the instructions for the
operating system.

If your system simply has the remains of a version of the Additions you could
not remove you should probably continue now, and these will be removed during
installation.

Do you wish to continue? [yes or no]
yes
...

Reboot the system after installation:

sudo reboot

Basic Usage of Virtualbox Guest Additions on Garuda | Endeavour OS

Shared Folders

You can choose the folders to be shared between the host and the guest OS:

Shared Clipboard

Clipboard between the host and guest is shared.

Full Screen Mode

With the Virtualbox Guest Additions, you can easily toggle the full screen mode in your guest OS.

Conclusion

In this post we’ve covered how you can install and use VirtualBox Guest Additions on Garuda | Endeavour OS. We hope this guide was of help to you. Drop us a comment if you encounter any issues.

More guides on Garuda|EndeavourOS:

Your IT Journey Starts Here!

Ready to level up your IT skills? Our new eLearning platform is coming soon to help you master the latest technologies.

Be the first to know when we launch! Join our waitlist now.

Join our Linux and open source community. Subscribe to our newsletter for tips, tricks, and collaboration opportunities!

Recent Post

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Post

One of the most effective control panels for web hosting that is used to host websites and administer web servers […]

Beekeeper Studio is an open-source completely free cross-platform SQL editor and database manager. It is available for Mac, Linux, and […]

OpenResty® is a full-featured web platform that uses our improved Nginx core to scale online applications and services. Its purpose […]

Let's Connect

Unleash the full potential of your business with CloudSpinx. Our expert solutions specialists are standing by to answer your questions and tailor a plan that perfectly aligns with your unique needs.
You will get a response from our solutions specialist within 12 hours
We understand emergencies can be stressful. For immediate assistance, chat with us now

Contact CloudSpinx today!

Download CloudSpinx Profile

Discover the full spectrum of our expertise and services by downloading our detailed Company Profile. Simply enter your first name, last name, and email address.