VirtualBox Guest Additions on Fedora 34/33, CentOS/RHEL 8/7/6/5 - Comment Page: 9

This is guide, howto install Oracle VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 34/33/32/31/30, CentOS 8.2/7.8/6.10/5.11, Red Hat (RHEL) 8.2/7.8/6.10/5.11. VirtualBox Guest Additions is special software that can be installed inside Linux virtual machines to improve performance and make integration much more seamless. Among the features provided by these VirtualBox Guest Additions are mouse pointer integration and arbitrary screen solutions (e.g. by resizing the guest window). Check video version of guide: Watch More Videos and Subscribe to Youtube Channel Note: Fedora 34/33/32/31/30...

352 comments on “VirtualBox Guest Additions on Fedora 34/33, CentOS/RHEL 8/7/6/5 - Comment Page: 9

1 7 8 9 10 11 15
    1. It successfully works on fedora 24. Appreciate your good sharing!

      • Worked for me too on Fedora24! Can’t believe all these steps have to be performed for something so basic in 2016.

    2. Thanks….instructions worked fine…..thanks for sharing…

    3. Using virtual box 4.3.20 building main Guest Additions module failed for Fedora 24 guest. Installation of latest version Guest Additions (5.1.0) passed but automatic adjustment of video resolution still not working. Any ideas? Unfortunately I’m not allowed to update virtual box.

      • Same here did not try –refresh and old kernel still works

    4. I get warnings and errors after following all the steps:

      Building the main Guest Additions module [FAILED]

      (In /var/log/vboxadd-install.log:)
      Error! Bad return status for module build on kernel: 4.6.4-301.fc24.x86_64 (x86_64)

      Warning: unknown version of the X Window System installed. Not installing X Window System drivers.

      I had just done a dnf update and restarted the virtual machine after a previous failed attempt to install the guest additions using someone else’s walk through. If someone would be nice enough to help me I’ll provide more relevant info, I don’t know what’s important to post and what’s not at this point.

    5. Fedora 24
      Worked for me after several tries.

      Installed these packages first
      1) dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl

      update all packages
      2) dnf upgrade –refresh
      3) reboot

      update the kernel
      4) dnf update kernel*

      5) mount the guestAdddition.iso as per above
      6) make the KERN_DIR environment variables as per above
      7) run the installer as per above

      • Update to 1) make sure to add the actual kernel version
        dnf install gcc kernel-devel-4.6xxx

        I think that’s what made the biggest difference

        • Hello paul,

          First update your kernel on step 2.

          Then it should install right kernel-devel and kernel-headers, (currently 4.7.7), VBox Guest Additions 5.1.6 have some bug, but 5.1.4 should work normally.

    6. Thanks for the help. I have installed GuestAdditions in Fedora 20 after trying for over 6 Hours.. All commands worked well but the last command did not work. I added ‘sudo ./’ and it worked fine and I have full screen and mouse pointer integration now

    7. Paul Costa’s fix worked perfectly for my Mac host fedora 24 guest on kernel 4.6.4 two weeks ago, but when I tried the same thing on my Linux mint host, fedora 24 guest kernel 4.6.6 today nothing seems to work at all. I still need to see if the problem is the difference in the host or a difference in the Kernel…I would really like to get it working on my mint machine to better try out fedora 24.

    8. Thanks for the info. Works smoothly on CentOS 7.

    9. Thanks. Works with Fedora 25 Alpha, too.

      • Paul Costa put me on the right track. I did not see his follow up comment the first time around. It would be good to consider upgrading the main post for Fedora 24 because what is described clearly does not work.

        I am shocked how difficult this was compared to Linux Mint. Finally this is the exact sequence that got it to work for me:

        1) dnf install gcc dkms make bzip2 perl
        2) uname -r
        > 4.5.5-300.fc24.x86_64
        3) sudo dnf install kernel-devel-4.5.5-300.fc24.x86_64 kernel-headers-4.5.5-300.fc24.x86_64
        4) reboot
        5) Install guest tools

        • Hello Mark and Benjamin,

          I can run VBoxGuestAdditions version 5.1.4, with 4.7.7 kernel without problems, but 5.1.6 version with 4.7.7 kernel fail. So maybe it’s better install latest kernel and downgrade your VBox Guest Additions to 5.1.4. I guess that next release will fix this.

    10. I downloaded FC 24 today.

      uname -r -> 4.5.5-300.fc34.x86_64
      /usr/src/kernels -> 4.7.7-200.fc24.x86_64

      The 4.5.5 headers can’t be found. If you really want people to use Fedora, don’t make it so damn hard to run in Virtualbox. While I’m a rationale person, this is how FUD like “Fedora sucks!!” starts. The distro should “just work” under Virtualbox. Admittedly it does without the guest additions, but I don’t want to work through a port-hole.

    11. I have Fedora 4.7.9-200.fc24.i686+PAE and 4.7.9-200.fc24.i686 only.
      Following the steps above fails when I start PAE kernel, but succeeds when plain non-PAE kernel is started. Likewise, non-PAE kernel runs with so-installed guest additions, while PAE kernel does not.
      I can only speculate that KERN_DIR can only refer to the existing path:
      Is there any possible workaround for PAE?

      • Install kernel-PAE-devel.

    12. It works! Thanks!

    13. Thanks, nice tips.

1 7 8 9 10 11 15

Leave a Reply to JR Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.