• Important: We recently upgraded our forum software - please let us know if you run into any issues.

Problem Installing VirtualBox Guest Additions on Linux

csanch11

New Member
I installed VirtualBox-5.2.18 on my MacBook Pro, and I tried to install VirtualBox guest additions on Linux, which allows the Guest to take advantage of faster drivers, better screen resolution, copy and paste, and shared folders.

I used the Terminal window to install the Development Tools Software Group. I typed in, sudo yum groupinstall “Development Tools”. What the Development Tools Software Group includes, is a C compiler and source code, so we can compile kernel drivers.

Then, I inserted the VBoxGuestAdditions.iso on my virtual machine
https://myhpu-my.sharepoint.com/:i:/g/personal/csanch11_my_hpu_edu/EWeM9Qeq_I9OqodxN1IzG60BXNVerBigrckAnlYTqe-PJw?e=wWMpr3

A CD popped up on my desktop screen. I clicked it and it showed me the window below. I clicked on Run Software. This should take the Development Tools we just installed and source code, and it's going to compile a new kernel module. And, once it's done, we should be able to have access to Guest Additions.
https://myhpu-my.sharepoint.com/:i:/g/personal/csanch11_my_hpu_edu/EcsgenzoGzRKp66pCUOygYkB5Z_UJiP30tyb1uS8VKemeQ?e=Sb9IyR

Once I hit run, the Terminal window popped up with these messages.
https://myhpu-my.sharepoint.com/:i:/g/personal/csanch11_my_hpu_edu/EUvOOfL490lMkJQRnjcficwB2olryMU4vSzbTAdZcBeLDw?e=rKqO43

I’m stuck at this stage of the installation. It says, “This system is currently not set up to build kernel modules. Please install the Linux kernel “header” files matching the current kernel for adding new hardware support to the system. The distribution packages containing the headers are probably: kernel-devel kernel-devel-3.10.0-862.11.6.el7.x86_64.” HOW DO I INSTALL THE LINUX KERNEL “HEADER” FILES THAT IT’S TALKING ABOUT?
 


atanere

Moderator
Gold Supporter
I’m stuck at this stage of the installation. It says, “This system is currently not set up to build kernel modules. Please install the Linux kernel “header” files matching the current kernel for adding new hardware support to the system. The distribution packages containing the headers are probably: kernel-devel kernel-devel-3.10.0-862.11.6.el7.x86_64.” HOW DO I INSTALL THE LINUX KERNEL “HEADER” FILES THAT IT’S TALKING ABOUT?
Hi @csanch11, and welcome. I think you're using CentOS as a guest OS, but not sure. Maybe this will help get you going:

https://www.tecmint.com/install-kernel-headers-in-centos-7/

Cheers
 

Members online



Top