Page 1 of 1

errors when installing VBoxLinuxAdditions-x86.run

Posted: 24. Jan 2009, 23:25
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]#

Posted: 25. Jan 2009, 01:04
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.

Posted: 25. Jan 2009, 05:02
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