1

I'm failing to install the Virtualbox Guest Additions on my guest OS fedora.

I installed kernel-devel and kernel-headers package which I assume should contain the required resources.

However, upon executing the Guest additions package, I get the error from the title.

Some info:

  • Host system: Windows 10
  • Fedora version: newest
  • Guest additions version: newest
  • Please check that kernel-devel and kernel-headers are exists for currently running kernel: rpm -qa|grep -E "(kernel-devel|kernel-headers)"|grep $(uname -r). – Yurij Goncharuk Mar 23 '18 at 13:58
  • Ok, I tried that, it produces no output. What does that mean, and how can I fix it? – Nearoo Mar 23 '18 at 16:01
  • It is strangely. Run rpm -qa|grep kernel instead. This command ensure that you have packages with pattern kernel in title. Please, show me output. – Yurij Goncharuk Mar 23 '18 at 16:08
  • Here you go. Can you tell me what that output means, please? – Nearoo Mar 23 '18 at 16:13
  • You sad that you installed kernel-devel and kernel-headers. So, we check that it's really true. In next step we need ensure that version of installed headers and develop facilities are match. So, please run uname -r and produce output. – Yurij Goncharuk Mar 23 '18 at 16:21
2

You are using a PAE kernel, any modules/extensions built in any other kernel will not work. You must use the kernel you intend to use to build the modules/extensions.

You need the right kernel headers and development packages, which I believe is this: kernel-PAE-devel-4.15.10-300.fc27.i686.rpm

Make sure that package is installed and then see if the guest tools can build properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.