

However, the by-default hardware integration between the host & the guest operating system, is not as tight as it is under VMware, at least in my experience.įor instance, if you were to run a GNU/Linux distribution such as CentOS, under Windows 8.1 (the host), then you might immediately notice that the mouse pointer movements are not quite responsive or sensitive, or that the screen resolution cannot be set to its maximum etc, compared to the host operating system.īut all these (& a couple more) drawbacks can be fixed by installing an additional VirtualBox software pack called the ‘Guest Additions’. If that’s the case, make sure you run the command from step 1, reboot CentOS, and then try installing Guest Additions once more.VirtualBox is a good operating system-level virtualization platform alternative when compared to other more popular utilities such as VMware, because it is free & open-source. Kernel headers not found for target kernel You may encounter the following error if your system updated the kernel version in step 1. Don’t forget that some features need to be enabled before you can use them. That’s all there is to it, but you’ll need to reboot the virtual machine before you can enjoy the new benefits.

Finally, use your root account to run the installation. Open a terminal as your normal user and change directory to where the Guest Additions image has been mounted. We recommend clicking “cancel” and running the program manually, as we show in the following steps.Ĥ. You should see a notification pop up (shown below), asking if you’d like to run the software. Next, insert the Guest Additions CD into the VM by clicking on Devices > Insert Guest Additions CD Image.ģ. # dnf install kernel kernel-devel kernel-headers gcc make perl elfutils-libelf-devel tar bzip2Ģ. Use your root account to execute the following command. First, we’ll use the system’s package manager to install the prerequisite packages. The step by step instructions below will explain how to install VirtualBox Guest Additions on CentOS Linux.ġ. It gives you automatic resolution scaling, a shared clipboard between the host and VM, and drag and drop ability. VirtualBox Guest Additions will help you get the most out of your CentOS virtual machine.
