

Reboot the CentOS guest for changes to take effect: sudo shutdown -r now Uncompressing VirtualBox 6.0.16 Guest Additions for Linux. The output will look like below: Verifying archive integrity. The -nox11 option tells the installer not to spawn an xterm window. To the newly created directory and execute the n script to start the installation of the Guest Additions: cd /mnt/cdrom sudo sh. , and mount the ISO file: sudo mkdir -p /mnt/cdrom sudo mount /dev/cdrom /mnt/cdrom Open the CentOS guest terminal, create a new directory Go to the “Storage” tab and add a new CD-ROM device by clicking on the plus sign (Adds optical device). If you get an error saying the guest system has no CD-ROM, stop the virtual machine, open the machine settings. , and install the packages required for building kernel modules: sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perlįrom the virtual machine menu, click Devices -> “Insert Guest Additions CD Image” as shown on the image below: Log in to the guest machine as root or sudo user Once mounted, you can install the additions on the guest system.įollow the steps below to install VirtualBox guest additions on CentOS 8 desktop or server guest. On the guest machine using the VirtualBox GUI manager. This file is located on the host machine and can be mounted VirtualBox ships with an image ISO file called “VBoxGuestAdditions.iso” that contains guest additions installers for all supported guest operating systems. Installing Guest Additions on CentOS Guest # This article explains how to install VirtualBox Guest Additions on CentOS 8 guests.

VirtualBox provides a set of drivers and applications (VirtualBox Guest Additions) that can be installed in the guest operating system to extend the guest’s functionality, such as shared folders, shared clipboard, mouse pointer integration, better video support, and more. Is open-source, cross-platform virtualization software that allows you to run multiple guest operating systems (virtual machines) simultaneously.
