LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-13-2018, 09:03 PM   #1
csanch11
LQ Newbie
 
Registered: Sep 2018
Posts: 1

Rep: Reputation: Disabled
Problem Installing VirtualBox Guest Additions on Linux


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


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.
https://myhpu-my.sharepoint.com/:i:/...BeLDw?e=1JuP11

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?
 
Old 09-14-2018, 04:14 PM   #2
Miguel_D
LQ Newbie
 
Registered: Sep 2018
Posts: 2

Rep: Reputation: Disabled
Hello csanch11,

Can you try this in a terminal?

Quote:
sudo yum install kernel-headers
The attempt the Guess Additions install again.
Hope that helps!

Miguel
 
Old 09-15-2018, 07:05 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,100

Rep: Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958
You need all of the following packages installed; perl gcc kernel-devel kernel-headers, etc.

You would use the "yum install <package name(s) here>" as the "root" user instead of using the "sudo" command on a default install of RHEL/CentOS/etc. As with CentOS for one, "sudo" is not enabled by default and you therefore would need to explictly setup it up yourself if you wanted it enabled. This is a guide that tells you the required steps to install the Virtualbox guest additions. Why that guide says to use "sudo" I don't know, so just ignore that part and use the "root" user account instead.

If you have the "kernel-ml" package installed instead for the kernel 4.x series, it's the same packages, just with the "-ml" in the middle of their names.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trouble installing Virtualbox Guest Additions. cyberbuff Linux - Software 4 02-27-2014 01:01 PM
Upside down screen after installing VirtualBox Guest Additions in Fedora 16 Samael Fedora 3 03-20-2012 07:23 PM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 09:22 AM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 06:30 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration