I have just started using VirtualBox. I am trying to get 2 virtual screens working on a CentOS 8 (8.2_2004) guest, which AFAIK I need the Guest Additions.
Searching through documentation it appears that I need to install the kernel-devel and kernel-header packages for the release I am one (which I have done).
When I run VBoxLinuxAdditions.run I get the following error:
Kernel headers not found for target kernel 4.18.0-193.el8.x86_64
rpm -q kernel-headers shows:
kernel-headers-4.18.0-193.6.3.el8_2.x86_64
uname -r shows:
4.18.0-193.el8.x86_64
I am on an air-gapped network so I am installing the packages through RPM.
Are there any obvious gotchas I am missing here?
Thanks,
Having problems installing VBox guest additions on CentOS 8
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Having problems installing VBox guest additions on CentOS 8
Do you also have the kernel-devel package installed for this kernel?
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Having problems installing VBox guest additions on CentOS 8
I don't know the version numbering scheme, but is it ok to ignore the two differences "6.3." and "_2"?
Re: Having problems installing VBox guest additions on CentOS 8
Well that was a duh moment. ugh (not enough coffee today). Think my brain crapped out after installing perl without yum.fth0 wrote:I don't know the version numbering scheme, but is it ok to ignore the two differences "6.3." and "_2"?