

VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel Uncompressing VirtualBox 6.1.12 Guest Additions for Linux. The execution may take some time depending upon your VM resources ~]# /mnt/n if you are on a windows platform you can use VBoxWindowsAdditions.exeĪs you see the scripts are already having executable permission so just go ahead and execute the script as root user. Since we are on a Linux platform we will use n to install VirtualBox Guest Addition modules. This will install the list of compilers and modules required to install the Virtual Box addition software. List the content of VirtualBox Guest Additions ISOīefore we install the Guest Addition software, there are certain pre-requisite which must be covered or else the installation will fail with errors like " VirtualBox Guest Additions: Kernel Headers Not Found For Target Kernel" ~]# yum -y install gcc make perl bzip2 kernel-headers-$(uname -r) kernel-devel-$(uname -r) elfutils-libelf-devel xorg-x11-drivers xorg-x11-util I know sr1 contains the virtual box addition image so I will mount it on /mntĪLSO READ: How to run systemd service as specific user and group in Linux 1.3 Verify the content of the ImageĬheck the content of the ISO.

Currently my server has two ISOs which are mounted ~]# lsscsi This will open a new window, select Storage from the left menu and check if VBoxAdditions.iso is mounted Verify if Guest Additions Image is addedġ.2 Mount Guest Additions Image on the server To verify if the Image is mounted successfully, click on Machine from the top menu and from the drop down click on Settings. Insert Guest Additions CD Image to the VM In the drop down menu click on Insert Guest Additions CD Image.

Just power on your VM and on the console look out for Devices from the top menu. The good thing is that you don't have to download any additional software to setup VBoxGuestAddition. This is a mandatory pre-requisite if you wish to configure a shared folder with VirtualBox. I will use RHEL/CentOS 8 as my Linux OS to access the shared folder as normal and root user. It is possible the steps may vary in future with a different version of VirtualBox. I am using Oracle VirtualBox 6.1 which is installed on Windows 10 host. ALSO READ: Steps to repair filesystem in rescue mode in RHEL/CentOS 7/8 Linux
