LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-31-2008, 09:15 AM   #1
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Rep: Reputation: 30
Cannot install virtualbox addition inside a linux guest system


When I ran
# ./VBoxLinuxAdditions-x86.run
It returned:
Code:
VirtualBox 2.1.0 Guest Additions installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.26.5-11m.mo5.i686
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again
.

I am using a fedora based system so I yum installed kernel-devel
, make, gcc, and kernel-headers-2.6.26.5-11m.mo5.i686

Code:
Package kernel-devel-2.6.26.7-2m.mo5.i686 already installed and latest version
Package make-3.81-6m.mo5.i686 already installed and latest version
Package gcc-4.3.1-7m.mo5.i686 already installed and latest version
Package matching kernel-headers-2.6.26.5-11m.mo5.i686 already installed. Checking for update.
Even after installing them, the system returned the same error...
It there anyway I could do too find what I am missing?
 
Old 12-31-2008, 10:53 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,629

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
Did you install those on the host or the guest?
 
Old 12-31-2008, 12:00 PM   #3
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Original Poster
Rep: Reputation: 30
guest:
 
Old 12-31-2008, 12:43 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,546

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
Quote:
Package kernel-devel-2.6.26.7-2m.mo5.i686 already installed
Probably wrong version, will not match
Quote:
The current kernel version is 2.6.26.5-11m.mo5.i686
Result : when the VirtualBox installer looks for 2.6.26.5
devel files, nothing is found.
 
Old 12-31-2008, 11:01 PM   #5
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by knudfl View Post
Probably wrong version, will not match

Result : when the VirtualBox installer looks for 2.6.26.5
devel files, nothing is found.
O..thank you
After updating the source and installed the right version, it started to compile...
 
  


Reply

Tags
virtualbox


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox Raw Access, Windows Host, Linux Guest Guitarist88 Linux - Newbie 2 11-14-2008 04:41 PM
virtualbox-guest-addition Slackbuilds ppr:kut Slackware 0 09-20-2008 03:52 PM
Resolution problems with Slackware as VirtualBox guest zoran119 Slackware 7 08-25-2008 08:40 PM
Zenwalk 4.8 does not work as a Linux guest in Virtualbox 1.5 paulsiu Zenwalk 7 11-21-2007 12:14 PM
Compiling Virtualbox Guest Additions paulsiu DamnSmallLinux 5 11-19-2007 10:35 PM


All times are GMT -5. The time now is 12:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration