

With guest addition installed, the virtual machine adjusts to match the resolution of the host system.

Yum install gcc kernel-devel kernel-headers dkms make bzip2 perlĥ. Install following packages # Fedora 34/33/32/31/30 #ĭnf install gcc kernel-devel kernel-headers dkms make bzip2 perl libxcrypt-compat On CentOS/Red Hat (RHEL) 8/7/6/5, EPEL repo is needed # CentOS 8 and Red Hat (RHEL) 8 # Mount -r /dev/cdrom /media/VirtualBoxGuestAdditions

Mount VirtualBox Guest Additions device mkdir /media/VirtualBoxGuestAdditions Next shutdown your virtual machine attach this iso and boot. Note: Some cases you might need Guest Additions Test Build ISO from here. Update virtual machine kernel and reboot # Fedora 34/33/32/31/30 and CentOS 8 / RHEL 8 #Ĭlick Devices > Install Guest Additions… on VirtualBox Make sure that you are running latest kernel Install VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL) 1.
