How to Install Virtualbox CentOS Guest Additions on CentOS 7 Virtual Machine
VirtualBox Guest Additions contain add-on Softwares and device drivers that will increase the performance of your CentOS 7 virtual machine. Without guest additions it will be difficult interacting with the guest operating system, especially if when you use CentOS 7 desktop environment.
You can do the following steps to Install VirtualBox CentOS Guest Additions on CentOS 7 to enhance virtual machine performance and features.
First Add the Guest Additions CD Image to the VM from the device menu. As shown in the below screenshot, go to the VM and click on Devices menu, and then click on Insert Guest Additions CD Image.
Next, open the virtual machine terminal and mount the CD image using Linux mount command.
mount /dev/cdrom /mnt/
Next steps is to run installation scripts. First move to the mount point, then run the installation file as follows.
And Finally restart the CentOS 7 VM with systemctl command
That is all we have to do. You should notice increased performance of VM, including mouse pointer movement and keyboard response time. Also now we should able to configure Virtual Machines resolution to the available maximum resolution of the host computer.