Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
Getting Virtualbox Guest additions working with Oralce Linux 8

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
-
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?
-
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.