

Change to the newly created directory and run the n script to start installing the Guest Additions: cd /mnt/cdrom.Open your CentOS guest terminal, create a new directory and mount the ISO file: sudo mkdir -p /mnt/cdrom.Go to the Storage tab and add a new CD-ROM drive by clicking on the plus sign (Adds optical device).

If you get a message that there is no CD in the guest system, stop the virtual machine, open the machine settings. From the virtual machine menu select Devices -> “Insert Guest Additions CD Image” as shown in the picture below:.Log into the guest machine as root or sudo and install the packages required to build kernel modules: sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl.Start your CentOS guest virtual machine.Once installed, you can install the add-ons on the guest system.įollow the instructions below to install VirtualBox Guest Additions on your desktop or CentOS 8 server. This file resides on the host machine and can be mounted on the guest machine using the VirtualBox GUI manager. VirtualBox comes with an ISO image file called “VBoxGuestAdditions.iso” which contains the guest addition installers for all supported guest operating systems. I hope you have learned how to install VirtualBox Guest additions on Debian 11 / Debian 10.Installing Guest Additions on Guests on CentOS If you do not get a full-screen view even after the reboot, minimize and maximize the window one time to get the full-screen view. Once the VirtualBox Guest additions installation is complete, reboot your system to complete the installation. n VirtualBox Guest Additions Installation In Progress sudo mount /dev/cdrom /mntĮxecute the VirtualBox guest addition installer with sudo privileges. Open a terminal and mount the CDROM to /mnt directory. On the VM window, go to Devices » Insert Guest Additions CD Image. sudo apt install -y build-essential linux-headers-$(uname -r) Install VirtualBox Guest Additions on Debian Then, install the build tools and kernel headers for the current kernel. Reboot your system in case the upgrade includes a Kernel update. Prerequisitesįirst, update all the packages to the latest version. Here, we will see how to install VirtualBox Guest additions on Debian 11 / Debian 10. You can read more in detail about guest additions on the Oracle VirtualBox user manual page. Guest Additions improve the guest operating system’s performance and add extra features such as Mouse pointer integration, Shared folders, Better video support, Seamless windows, Time synchronization, Shared clipboard, and Automated logins. You will need to install Guest Additions inside a virtual machine once a guest operating has been installed. They are stored in an ISO image format inside the VirtualBox installation directory. VirtualBox Guest additions are a collection of device drivers and software application packages shipped along with VirtualBox.
