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

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.4/6.9/5.11, Red Hat (RHEL) 7.4/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). Install VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL) 1. Change root user su - ## OR ## sudo -i 2. Make sure...

262 comments on “VirtualBox Guest Additions on Fedora 28/27, CentOS/RHEL 7.4/6.9/5.11 - Comment Page: 11

1 9 10 11
    1. Thank you very much, worked well on CentOS 7.

      Reply
    2. Great Post! Thanks for this. Struggled with the setup of the guest additions.

      Greetings from Germany
      ~ Marcel

      Reply
    3. Don´t set KERN_DIR for RHEL 7.4.

      Reply
      • Hi Nathan,

        KERN_DIR with /build directory at the end, should work normally. Just tested it with CentOS 7.4 and updated this guide.

        Reply
    4. Thanks man! You saved my day ;)

      Reply
    5. Also need to check if kernel-devel package is installed. if not KERN_DIR will not have the necessary files to run and installation will fail.

      Reply
      • If you follow this guide, then you should have kernel-devel installed after step 4, right?

        Reply
    6. hie
      whn i reach the final part of

      ./VBoxLinuxAdditions.run

      it says no suchfile or directory so what can i do please help……

      Reply
      • Hi alpha,

        Did you run exactly all commands? Could you try again and post output of following commands, when you are running ./VBoxLinuxAdditions.run:

        pwd
        
        ls -la
        Reply
        • Hi alpha,

          I had the same problem today. I had to update the KERN_DIR variable to:

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

          export KERN_DIR

          Reply
          • Hi Conor,

            This actually is not same thing at all. Btw. what version of VirtualBox / Guest Additions you are running? Because following:

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

            Just build, no tools/build/…Should work, at least with VirtualBox Guest Additions 5.2.8.

            Reply
1 9 10 11

Leave a Reply

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

Close