Add Guest Aditions

“For any serious and interactive use, the Oracle VM VirtualBox Guest Additions will make your life much easier by providing closer integration between host and guest and improving the interactive performance of guest systems.”

Tested On

Reference

VirtualBox Guest Additions Manual

Steps

  1. Click on Devices and select Insert Gueset Additions. This will insert a disk into the virtual machine to install guest additions.

  2. If you get this message where there’s no optical drive, then shutdown the VM, go to settings, and add guest Addtions to the Optical Drive.

  3. Adding guest additions via settings:

  4. Go to settings:

  5. Click drives and click on add

  6. Add guest Additions

  7. It should look like this at the end:

  8. Start the virtual machine again.

  9. Click on Activites:

  10. Open Files:

  11. Click on Guest Additions

  12. Click run on the dialog that appears

  13. Type admin password to install guest additions:

  14. Wait for Guest Additions loading:

  15. Locate the power button to restart the virtual machine

  16. If you get an error, resolve the issue by using google.

  17. I had an error with a missing package. I just installed it and reran the Guest Additions Installation
    $ sudo yum install kernel-headers
    

    Reference: https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/

    Change to root user: $ sudo -i

    insall additional packages $ dnf update kernel*

    Reboot then retry instlaling guest additions $ reboot

    $ dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

    $ yum install gcc kernel-devel kernel-headers dkms make bzip2 perl

    Navigate to directory of guest additions installer and Install guest additions with $ sudo sh ./VBoxLinuxAdditions.run --nox11

  18. If all is a success: Restart the virtual machine

Congradulations! Guest Additions is now installed.