Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to install Guest Additions

Eric Olson 1Aug 5 2020 — edited Aug 7 2020

I'm trying to install the Guest Additions to my Oracle Linux 7.8 guest VM and am kind of stuck and looking for suggestions.

I first tried following the instructions here, but I'm having trouble with some dependency:

$ sudo yum install kmod-vboxguest-uek5.x86_64 vboxguest-tools.x86_64

Loaded plugins: langpacks, ulninfo

Resolving Dependencies

--> Running transaction check

---> Package kmod-vboxguest-uek5.x86_64 0:5.2.20-1.el7 will be installed

--> Processing Dependency: kernel(put_zone_device_private_or_public_page) = 0xa83f1331 for package: kmod-vboxguest-uek5-5.2.20-1.el7.x86_64

--> Processing Dependency: kernel(pv_mmu_ops) = 0x2509bc00 for package: kmod-vboxguest-uek5-5.2.20-1.el7.x86_64

--> Processing Dependency: kernel(device_private_key) = 0x0a948e10 for package: kmod-vboxguest-uek5-5.2.20-1.el7.x86_64

---> Package vboxguest-tools.x86_64 0:5.2.20-1.el7 will be installed

--> Finished Dependency Resolution

Error: Package: kmod-vboxguest-uek5-5.2.20-1.el7.x86_64 (ol7_developer)

           Requires: kernel(pv_mmu_ops) = 0x2509bc00

           Installed: kernel-uek-4.14.35-1902.304.6.3.el7uek.x86_64 (@ol7_UEKR5)

               kernel(pv_mmu_ops) = 0xe6dcf5f9

           Available: kernel-3.10.0-957.10.1.el7.x86_64 (ol7_latest)

               kernel(pv_mmu_ops) = 0x72392fe6

           Available: kernel-3.10.0-957.12.1.el7.x86_64 (ol7_latest)

               kernel(pv_mmu_ops) = 0x72392fe6

           Available: kernel-3.10.0-957.12.2.el7.x86_64 (ol7_latest)

               kernel(pv_mmu_ops) = 0x72392fe6

          ...

I also tried the UEK4 version, with the same result.

Then judging by this message, the RPMs are deprecated and we're not supposed to use them anymore. So from the VirtualBox menu, I tried Devices > Insert Guest Additions CD Image, but get:

Verifying archive integrity... All good.

Uncompressing VirtualBox 6.1.12 Guest Additions for Linux........

VirtualBox Guest Additions installer

Copying additional installer modules ...

Installing additional modules ...

VirtualBox Guest Additions: Starting.

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 <version>

VirtualBox Guest Additions: or

VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all

VirtualBox Guest Additions: Kernel headers not found for target kernel

4.14.35-1902.304.6.3.el7uek.x86_64. Please install them and execute

  /sbin/rcvboxadd setup

modprobe vboxguest failed

The log file /var/log/vboxadd-setup.log may contain further information.

Press Return to close this window...

Now I'm kind of stumped as to what to do next. Suggestions?

This seems like a lot of work just to get the clipboard to work bidirectionally between host and guest.

This post has been answered by Andris Perkons-Oracle on Aug 7 2020
Jump to Answer
Comments
Post Details
Added on Aug 5 2020
2 comments
7,403 views