VirtualBox Guest Additions on Fedora 28/27, CentOS/RHEL 7.5/6.9/5.11 - Comment Page: 10

This is guide, howto install Oracle VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 28/27/26/25/24/23/22/21/20/19/18/17, CentOS 7.5/6.9/5.11, Red Hat (RHEL) 7.5/6.9/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). Note: Fedora 28 have build in VirtualBox Guest Additions, but if you still wan't (some reason) install latest/development/different version of...

277 comments on “VirtualBox Guest Additions on Fedora 28/27, CentOS/RHEL 7.5/6.9/5.11 - Comment Page: 10

1 8 9 10 11
      • Thanks J P,

        I updated all posts.

        Reply
    1. My fedora 25 does not boot after running the VBoxLinuxAdditions.run.

      Reply
    2. On Fedora 25, I needed

      dnf install kernel-devel-$(uname -r)

      Reply
    3. THANK YOU !!! Just what the doctor ordered. It worked like a charm. (and any other cliches that mean “It worked!”)

      Reply
    4. Muchos Gracias my dear friend. Saved my ass.

      Reply
    5. Thank you very much! It worked perfectly well for Fedora 25 64 bits!

      Reply
    6. Very helpful. Thank you!

      Reply
    7. Worked perfectly. Cheers!

      Reply
    8. Thank you so much for this so simple tuto !
      Harrasment erased :)

      Reply
    9. A few quick updates – Contrary to the item in the content regarding downgrading the kernel for Centos 6 and 7, you can now acquire the bleeding edge virtualbox guest additions, packaged separately from the virtualbox application package. As of this writing, the latest is here: https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_5.2.1-118868.iso published on October 30 2017.

      It’s also worth pointing out that while not many people have need of the i386 architecture release of Centos 7, there is currently and there are no plans for an EPEL 7 repository for i386, which makes it very tedious to build the virtualbox additions, as you’ll need to install and in some cases build each dependency independently. For those interested in going this route, the epel package builds exist absent the repository metadata, here https://buildlogs.centos.org/c7-epel/ as discussed here https://lists.fedoraproject.org/archives/list/[email protected]/thread/OJVTY5MWCZXPLKACU6MPRRRHJCUN5JE4/

      Reply
    10. I’m having the kernel not being installed, I’ve looked on how to fix this issue but none to my avail. I’m running Fedora 27 (up-to-date) 64bit, looking for a way to fix this problem thanks. This is what I’ve done so far, please correct me if i’m wrong.

      [[email protected] ~]# ‘/sbin/vboxconfig’
      vboxdrv.sh: Stopping VirtualBox services.
      vboxdrv.sh: Building VirtualBox kernel modules.
      vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.

      There were problems setting up VirtualBox. To re-start the set-up process, run
      /sbin/vboxconfig
      as root.
      [[email protected] ~]# /var/log/vbox-install.log
      bash: /var/log/vbox-install.log: Permission denied

      Reply
      • Hi Joe,

        What you try to do? Are you installing VirtualBox Guest Additions or VirtualBox? If you follow this guide to install VirtualBox Guest Additions on Fedora 27, then I’m not sure why you try to run /sbin/vboxconfig? And if you want to see/read your vbox-install.log, then you have to use example less, like less /var/log/vbox-install.log

        Reply
        • [[email protected]]# ‘/sbin/vboxconfig’
          vboxdrv.sh: Stopping VirtualBox services.
          vboxdrv.sh: Building VirtualBox kernel modules.
          vboxdrv.sh: Starting VirtualBox services.
          vboxdrv.sh: Building VirtualBox kernel modules.
          vboxdrv.sh: failed: modprobe vboxdrv failed. Please use ‘dmesg’ to find out why.

          There were problems setting up VirtualBox. To re-start the set-up process, run
          /sbin/vboxconfig
          as root.
          I’ve been trying to “install” the guest additions to start Virtual Box but a message appears that the kernel driver isn’t installed although the file exists. Any help would be appreciated.

          Reply
          • Hi Joe,

            If you really are installing guest additions, please follow this guide and run ./VBoxLinuxAdditions.run and post output here?

            Reply
    11. Just did this on Fedora 27 this morning. Needed to set:

      KERN_DIR=/usr/src/kernels/`uname -r`/build

      (Note the addition of /build at the end) in order for it to work.

      Thanks for the help, wouldn’t have been able to figure it out without you.

      Reply
      • You should really fix the article, this does not work without specifying the build directory on Fedora27.

        Reply
        • Thanks Eamonn and Goce,

          Fixed and added build directory to end of KERN_DIR, needed at least on VirtualBox 5.2.8+ Guest Additions.

          Reply
    12. How do I get the VBox guest additions kernel modules to load automatically? I thought ‘modprobe vboxguest’ and ‘modprobe vboxsf’ would do it but it didn’t.

      Reply
    13. Um… I was trying to do this on a host with VBox 5.1.30. I graded that to 5.2.4 and now the kernel modules do load automatically. You just have to have the right virgin.

      Reply
1 8 9 10 11

Leave a 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.

Close