VirtualBox Guest Additions on Fedora 30/29, CentOS/RHEL 7.6/6.10/5.11 - Comment Page: 13

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

319 comments on “VirtualBox Guest Additions on Fedora 30/29, CentOS/RHEL 7.6/6.10/5.11 - Comment Page: 13

1 11 12 13
    1. Great article.

      Reply
    2. On fedora 29 i had the same install issue as some posted before. The problem is the “/build” in the kernel path. Removing them fixed the issue.

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

      instead of

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

      Reply
    3. Windows 10 Host – VirtualBox 6.0.6
      Fedora 30 client

      Had to install libxcrypt-compat so guest addtions would work correctly. Shared clipboard functionality stopped working after upgrading client to Fedora 30.

      Error message in /var/log/vboxadd-setup.log after attempting to reinstall guest additions:

      VBoxClient: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

      Here is the relevant doc from the Fedora Project’s website talking about changes to libcrypt:

      https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt

      Reply
    4. Followed all steps successfully, unfortunately, copy & paste between host(Windows 7 Ultimate) and guest(Fedora 30) does not work. Display settings are not saved

      Reply
    5. on Fedora 30, the final step (6) is failing because libcrypt.so.1 is missing (replaced by libcrypt.so.2)

      To make it work, an additional step will be to install libcrypt first:
      dnf install libxcrypt-compat.x86_64

      Reply
    6. Windows 10 Host – VirtualBox 6.0.6
      Fedora 30 client

      these are the steps that I run to install VB Additions 6.0.6 and automounted Shared Folders

      = dnf install libxcrypt-compat.x86_64
      = uname -r
      = rpm -q kernel-devel
      = dnf install kernel-devel
      mounted VBox_GAs_6.0.6.iso
      = ./VBoxLinuxAdditions.run
      reboot
      Shared Folders defined in VM manager Fedora 30 UI got automounted after reboot
      = sudo usermod -aG vboxsf $(whoami)
      = modprobe -a vboxguest vboxsf vboxvideo

      ————
      other useful info that may help
      https://stackoverflow.com/questions/28328775/virtualbox-mount-vboxsf-mounting-failed-with-the-error-no-such-device

      Reply
    7. My output looks like this ;

      [[email protected] VirtualBoxGuestAdditions]# ./VBoxLinuxAdditions.run
      Verifying archive integrity… All good.
      Uncompressing VirtualBox 6.0.4 Guest Additions for Linux……..
      VirtualBox Guest Additions installer
      This system appears to have a version of the VirtualBox Guest Additions
      already installed. If it is part of the operating system and kept up-to-date,
      there is most likely no need to replace it. If it is not up-to-date, you
      should get a notification when you start the system. If you wish to replace
      it with this version, please do not continue with this installation now, but
      instead remove the current version first, following the instructions for the
      operating system.

      If your system simply has the remains of a version of the Additions you could
      not remove you should probably continue now, and these will be removed during
      installation.

      Do you wish to continue? [yes or no]
      y
      touch: cannot touch ‘/var/lib/VBoxGuestAdditions/skip-5.1.6-300.fc30.x86_64’: No such file or directory
      Copying additional installer modules …
      Installing additional modules …
      VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
      modules. This may take a while.
      VirtualBox Guest Additions: To build modules for other installed kernels, run
      VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup
      VirtualBox Guest Additions: Building the modules for kernel
      5.1.6-300.fc30.x86_64.

      VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
      went wrong
      VirtualBox Guest Additions: Running kernel modules will not be replaced until
      the system is restarted
      VirtualBox Guest Additions: Starting.
      VirtualBox Guest Additions: Building the modules for kernel
      5.1.6-300.fc30.x86_64.

      VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
      went wrong
      VirtualBox Guest Additions: modprobe vboxsf failed

      Reply
1 11 12 13

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