errors when installing VBoxLinuxAdditions-x86.run

Discussions related to using VirtualBox on Linux hosts.
Post Reply
oderous
Posts: 2
Joined: 24. Jan 2009, 23:11

errors when installing VBoxLinuxAdditions-x86.run

Post by oderous »

I recieve the following when i try to install vboxadditions. I am running CentOS 5 guest on vbox 2.0.2 on a fedora 9 host. I have a folder I need to share from host to guest and I think I need vboxadditions to accomplish this, any help would be appreciated.

[root@test VBOXADDITIONS_2.0.2_36486]# sh ./VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 2.0.2 Guest Additions for Linux installation.........................................................................................................................................................................................
VirtualBox 2.0.2 Guest Additions installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.18-92.1.22.el5
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.

[root@test VBOXADDITIONS_2.0.2_36486]# uname -a
Linux test.server.com 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux
[root@test VBOXADDITIONS_2.0.2_36486]#
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Asked dozens of times. You need the kernel headers. See the VirtualBox FAQ for more info. Install kernel-devel, that should be enough. Just make sure that it installs the same version as the kernel you are running. A full system update should prevent that.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
oderous
Posts: 2
Joined: 24. Jan 2009, 23:11

Post by oderous »

Don't know why it is, but I always forget the devel pkg when I build a new machine, that fixed it, thanks for the reminder
Post Reply