Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

Problem Installing VirtualBox Guest Additions on Linux

Discussion in 'Getting Started' started by csanch11, Sep 14, 2018.

Tags:
  1. csanch11

    csanch11 New Member

    Joined:
    Sep 14, 2018
    Messages:
    1
    Likes Received:
    0
    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:...9OqodxN1IzG60BXNVerBigrckAnlYTqe-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:...RKp66pCUOygYkB5Z_UJiP30tyb1uS8VKemeQ?e=Sb9IyR

    Once I hit run, the Terminal window popped up with these messages.
    https://myhpu-my.sharepoint.com/:i:...lMkJQRnjcficwB2olryMU4vSzbTAdZcBeLDw?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?


     
  2. atanere

    atanere Moderator
    Gold Supporter

    Joined:
    Apr 6, 2017
    Messages:
    1,597
    Likes Received:
    1,644
    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
     
    wizardfromoz likes this.

Share This Page