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!

  1. Follow us on twitter - we shoot all of our new original content out as well as random messages. https://twitter.com/linuxdotorg
    Dismiss Notice

Problem Installing VirtualBox Guest Additions on Linux

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

  1. csanch11

    csanch11 New Member

    Sep 14, 2018
    Likes Received:
    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.

    (Log in to hide this advertisement)

    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

    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.

    Once I hit run, the Terminal window popped up with these messages.

    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

    Apr 6, 2017
    Likes Received:
    Hi @csanch11, and welcome. I think you're using CentOS as a guest OS, but not sure. Maybe this will help get you going:


    wizardfromoz likes this.

Share This Page