How to Install VirtualBox Guest Additions on CentOS 8 - MS TV Life.COM

How to Install VirtualBox Guest Additions on CentOS 8

How to Install VirtualBox Guest Additions on CentOS 8

We hope this post helped you to find out  How to Install VirtualBox Guest Additions on CentOS 8

VirtualBox is open-source, cross-platform virtualization software program that lets you run a number of visitor working programs (digital machines) concurrently.

VirtualBox gives a set of drivers and functions (VirtualBox Visitor Additions) that may be put in within the visitor working system to increase the visitor’s performance, similar to shared folders, shared clipboard, mouse pointer integration, higher video assist, and extra.

This text explains the best way to set up VirtualBox Visitor Additions on CentOS Eight company.

Installing in Visitor Additions on CentOS Visitor #

VirtualBox ships with a picture ISO file known as “VBoxGuestAdditions.iso” that incorporates visitor additions installers for all supported visitor working programs. This file is situated on the host machine and might be mounted on the visitor machine utilizing the VirtualBox GUI supervisor. As soon as mounted, you possibly can set up the additions on the visitor system.

Comply with the steps under to put in VirtualBox visitor additions on CentOS Eight desktop or server visitor.

Step 1. Open the VirtualBox GUI Manager.

Step 2. Start the CentOS guest virtual machine.

Step 3. Log in to the guest machine as root or sudo user, and install the packages required for building kernel modules:

 sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl

Step 4. From the virtual machine menu, click Devices -> “Insert Guest Additions CD Image” as shown on the image below:

If you get an error saying the guest system has no CD-ROM, stop the virtual machine, open the machine settings. Go to the “Storage” tab and add a new CD-ROM device by clicking on the plus sign (Adds optical device). Once done, reboot the virtual machine.

Step 5. Open the CentOS guest terminal, create a new directory, and mount the ISO file:

sudo mkdir -p /mnt/cdromsudo mount /dev/cdrom /mnt/cdrom

Step 6. Navigate to the newly created directory and execute the VBoxLinuxAdditions.run script to start the installation of the Guest Additions:

cd /mnt/cdrom
sudo sh ./VBoxLinuxAdditions.run --nox11 

The --nox11 option tells the installer not to spawn an xterm window.

The output will look like below:

Verifying archive integrity... All good. Uncompressing VirtualBox 6.0.16 Guest Additions for Linux........ ... ... VirtualBox Guest Additions: Starting.

Step 7. Reboot the CentOS guest for changes to take effect:

sudo shutdown -r now

Step 8. Once the virtual machine is booted, log into it and verify that the installation was successful and the kernel module is loaded using the lsmod command:

 lsmod | grep vboxguest

The output will look something like this:

vboxguest      348160 2 vboxsf 

If the command doesn’t return any output, it means that the VirtualBox kernel module is not loaded.

That’s it. You could have put in VirtualBox Visitor Additions in your CentOS visitor machine.

Now you can allow Shared clipboard and Drag’n Drop assist from the digital machine settings “Storage” tab, allow 3D acceleration from the “Show” tab, create Shared folders, and extra.

Conclusion #

Putting in VirtualBox Visitor Additions improves the efficiency of the digital machine and enhances its usability.

To seek out extra details about the Visitor Additions, go to the official VirtualBox Guest Additions documentation web page.

We hope the How to Install VirtualBox Guest Additions on CentOS 8 help you. If you have any query regarding How to Install VirtualBox Guest Additions on CentOS 8 drop a comment below and we will get back to you at the earliest.

We hope this post helped you to find out  How to Install VirtualBox Guest Additions on CentOS 8 . You may also want to see – How to Install Gradle on CentOS 8

Copy link
Powered by Social Snap