LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 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
Open Source Consulting | Domain Registration