Trying to install VirtualBox Guest Addition in Fedora 17
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.