can't install guest additions opensuse 11.1

Discussions related to using VirtualBox on Windows hosts.
Post Reply
VinceWinterling
Posts: 6
Joined: 13. Dec 2008, 18:10

can't install guest additions opensuse 11.1

Post 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
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 »

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).
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.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

For Suse package name is "kernel-source".
VinceWinterling
Posts: 6
Joined: 13. Dec 2008, 18:10

Post 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?
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 »

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.
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.
VinceWinterling
Posts: 6
Joined: 13. Dec 2008, 18:10

Post 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.).
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

"rpm -qa | grep kernel"
caniculus
Posts: 1
Joined: 13. Apr 2009, 20:00
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, openSUSE, Ubuntu

Re:

Post 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
Post Reply