VBoxLinuxAdditions reports that kernel cannot be built

Discussions about using Linux guests in VirtualBox.

VBoxLinuxAdditions reports that kernel cannot be built

Postby Freelance » 24. Nov 2017, 20:39

The log file after executing VBoxLinuxAdditions.run says that the Linux Headers are not installed. I have installed them (several times) but it never sees them and it says "The systems is not currently set up to build kernel modules". I have installed 5.22 of Virtual Box because it was supposed to resolve the windows resizing problem. I am on 4.13.0 of Kali, running in a Windows 10 host.
Everything in VirtualBox seems to work with my Kali installation except the window resizing.
Freelance
 
Posts: 1
Joined: 24. Nov 2017, 20:25

Re: VBoxLinuxAdditions reports that kernel cannot be built

Postby socratis » 24. Nov 2017, 22:32

Moving to "Linux Guests" from "Windows Hosts".

Freelance wrote:says that the Linux Headers are not installed. I have installed them
Not the ones that match the kernel that you're running, no. And it's not VirtualBox that's complaining, it's your own Kali because it tries to compile something and it can't find the exact set of headers-kernel. Could you double check and make absolutely sure that the kernel and the headers match to the "t"?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12648
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VBoxLinuxAdditions reports that kernel cannot be built

Postby vensasa » 28. Nov 2017, 23:50

It looks like I am having this problem as well on a Linux Ubuntu 17.04 guest, with 5.2.2. Looks like they broke building the Guest Additions again.


PS: It looks like they did build. At first it said that vboxsf would not load but after rebooting they are loaded fine now.
vensasa
 
Posts: 78
Joined: 8. Jul 2011, 18:52
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu Linux


Return to Linux Guests

Who is online

Users browsing this forum: Bing [Bot] and 22 guests