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!

Getting Virtualbox Guest additions working with Oralce Linux 8

3025127May 17 2019 — edited May 18 2019

With excitement played around with Oracle Linux 8 work station. I had hard time get the Virtualbox guest addition to work.

Keep getting the error kernel-headers are missing even though kernel-headers are installed. So the error is misleading.

sudo -E dnf install kernel-headers

Last metadata expiration check: 0:00:31 ago on Fri 17 May 2019 07:28:54 PM EDT.

Package kernel-headers-4.18.0-32.el8.x86_64 is already installed.

Dependencies resolved.

Nothing to do.

Complete!

Couple of key points. If you are behind proxy and use sudo command make sure use the -E option.

Install kernel-devel  &

sudo -E dnf install elfutils-libelf-devel

Rerun guest additions. Works like a charm.

Good luck

Comments

Dude!

I installed the Virtualbox guest additions in beta 8 recently, but there wasn't any need for kernel-headers or kernel-dev, etc. If I remember correctly, I simply choose Insert Guest Additions from the VM Devices menu and entered the root password. After the next restart I was able set screen resolutions. Did you try without installing kernel-headers?

3025127

Just downloaded the CD today https://www.oracle.com/technetwork/server-storage/linux/downloads/linux-beta-4409163.html . Workstation 8 has kernel-headers installed by default. Might be kernel-devel might be not required. I just added it just in case. Surely it's failing that missing package elfutils-libelf-devel. I was able to proceed only after installing elfutils-libelf-devel manually.

1 - 2

Post Details

Added on May 17 2019
2 comments
5,516 views