LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2012, 02:20 PM   #1
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Rep: Reputation: 16
Trying to install VirtualBox Guest Addition in Fedora 17


guys, I have Fedora 17 running inside VirtualBox, so I'm trying to install VirtualBox Guest Additions, but it fails. Here's the output

Code:
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.18 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing existing VirtualBox DKMS kernel modules           [  OK  ]
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
The gcc utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-devel-3.3.4-5.fc17.i686

Building the main Guest Additions module                   [FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions              [  OK  ]
Installing the Window System drivers
Installing X.Org Server 1.12 modules                       [  OK  ]
Setting up the Window System to use the Guest Additions    [  OK  ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services componen[  OK  ]
Press Return to close this window...
 
Old 11-02-2012, 09:02 AM   #2
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Quote:
Originally Posted by mia_tech View Post
guys, I have Fedora 17 running inside VirtualBox, so I'm trying to install VirtualBox Guest Additions, but it fails. Here's the output
Quote:
yum install kernel-devel-3.3.4-5.fc17.i686
Once you're connected to a network in the virtual machine, open your terminal, su to root and try the above command (from your error message).
Once that's done, try again and see if there's any errors.
 
Old 11-03-2012, 02:21 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
yum install kernel-devel-3.3.4-5.fc17.i686
it is NOT recommended to use a FULL name for the kernel

it is almost always wrong and will not match the running kernel
please use
Code:
su - 
yum update 
yum install kernel-devel
 
Old 11-03-2012, 01:02 PM   #4
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by John VV View Post
it is NOT recommended to use a FULL name for the kernel

it is almost always wrong and will not match the running kernel
please use
Code:
su - 
yum update 
yum install kernel-devel
tried both methods and still doesn't work... somehow installing guest addition in Fedora is a pain in the a$$. I remember doing it before, and I believe that the problem was not having the right kernel-headers. The kernel-headers doesn't have to match those of you os. It has to be the one that virtualbox thinks is the right one

Last edited by mia_tech; 11-03-2012 at 01:03 PM.
 
Old 11-03-2012, 03:15 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well that is life with fedora
You ARE using it because YOU LIKE to tinker and fix things

this is just another "puzzle" for you to fix
You DO like to and WANT to solve "puzzles" ???

that is why you are using fedora
 
Old 11-20-2012, 06:02 AM   #6
PierreB.
Member
 
Registered: Apr 2012
Location: Grenoble
Distribution: Rhel[456],CentOS[56],fedora18
Posts: 33

Rep: Reputation: Disabled
Just a quick post to say that i wrote some stuff on this topics, which might be helpful for this issue...

See it here
 
  


Reply



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
[SOLVED] cannot install guest addition on ubuntu 12.04 sysmicuser Linux - Newbie 1 03-23-2012 11:35 PM
LXer: Fix Virtualbox guest addition installation issue in Ubuntu 10.10 Maverick Meerkat LXer Syndicated Linux News 0 09-09-2010 11:20 AM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM
Cannot install virtualbox addition inside a linux guest system hkl8324 Linux - Software 4 12-31-2008 11:01 PM
virtualbox-guest-addition Slackbuilds ppr:kut Slackware 0 09-20-2008 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 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