

This will mount the guest addition installers under the /run/media/ directory. Next, mount the guest additions iso file on your preferred directory, for example, /run/media/.

To install VirtualBox guest additions via the terminal, insert the Guest Addition iso file as done above and when prompted on whether to automatically run the installation, simply cancel the installer. Restart the system to apply the changes by clicking on the dropdown button at the top right corner close to the battery icon > power button > restart system.Īnd boom, you are now on Fedora 31/32 full screen on VirtualBox. Authorize the installation by authenticating as the user with privileges to run the installer to proceed with installation. You are prompted whether to automatically run the installation.Ĭlick Run. Install Guest Additions via the GUIĬlick Devices > Insert Guest Additions CD image on the VM Menu bar to mount the VirtualBox guest addition disk file. The installation can be done from the terminal or from the graphical user interface. You can now proceed to install Guest Additions on your VM. Once the update is done, reboot the system and re-verify the kernel versions uname -r 5.5.86_64 rpm -qa kernel-devel kernel-devel- 5.5.86_64 Install VirtualBox Guest Additions on Fedora 31/32 If they do not match as in our case above, update your kernel headers dnf update kernel-* If the versions match, proceed to install VirtualBox guest additions on Fedora 31/32. To check the version of the running kernel hostnamectl | grep Kernel Kernel: Linux 5.3.86_64Ĭheck version of installed kernel rpm -qa kernel-devel kernel-devel-5.5.86_64 Once the installation of the kernel build tools above is done, verify that the version of the running kernel headers matches the version of the installed kernel development ( kernel-devel) tool installed. Therefore, run the command below to install DKMS, Kernel development package and other required build tools dnf install dkms kernel-devel gcc make bzip2 perl Verify Installed Kernel Headers To simplify kernel upgrades, you need to install Dynamic Kernel Module Support (DKMS). Installation of VirtualBox guest additions requires that the kernel headers for the target system kernel be installed. Install Kernel Headers and Required Build Tools
