Page 1 of 1
can't install guest additions opensuse 11.1
Posted: 28. Feb 2009, 17:45
by VinceWinterling
Running latest ver VB in Windows 7. All works well. Tried to install OpenSuse 11.1. Program installs ok in VB but not the guest additions. Scoured the web and have loaded many additional software components. Get to installing guest additions (sudo sh /media/VBOXADDITIONS_2.1.4_42893/VBoxLinuxAdditions-x86.run) and it tells me building a test kernel failed and I can find more information in the /var/log/vboxadd-install.log. Can't find that log file either.
What's my next step?
Thanks!
Vince
Posted: 28. Feb 2009, 21:18
by Sasquatch
You installed the package kernel-devel or kernel-headers? And some build tools, like GCC. With those, you should be able to build kernel modules.
You really should have the file, if you ran the installer as the root user (either login as root, or use sudo).
Posted: 28. Feb 2009, 21:30
by stefan.becker
For Suse package name is "kernel-source".
Posted: 28. Feb 2009, 22:20
by VinceWinterling
I have the kernel packages installed. Still it tells me there is a problem with the kernel.
I'm wondering the syntax of commands to load the vboxguest additions.
I've been using sudo sh /media/VBOXADDITIONS_2.1.4_42893/VBoxLinuxAdditions-x86.run. Is that correct?
Posted: 28. Feb 2009, 22:23
by Sasquatch
The install command is the proper one, if you run a 32 bit Guest. Just check which version of kernel packages you have installed, they must be the same.
Posted: 28. Feb 2009, 22:36
by VinceWinterling
Thanks for the feedback.
How would I check the kernel packages to determine is they are the same? (very new to opensuse, forgive me.).
Posted: 28. Feb 2009, 22:55
by stefan.becker
"rpm -qa | grep kernel"
Re:
Posted: 13. Apr 2009, 20:17
by caniculus
VinceWinterling wrote: I have the kernel packages installed. Still it tells me there is a problem with the kernel...
Sasquatch wrote:...Just check which version of kernel packages you have installed, they must be the same.
i've had the same problem (virtualbox guest addition couldn't be installed on opensuse even after updating packages gcc gcc-c++ make kernel-source) and it turns out, Sasquatch was right:
versions of kernel-related packages were not the same (to list those: 'rpm -qa | grep kernel'). i just had to downgrade kernel-source to match other kernel packages (2.6.27.7-9.1)
by the way, fedora and ubuntu gave no such headache