I installed OpenSUSE 11.1 as a guest in VirtualBox 2.1.0 (Windows host). I tried to install the VirtualBox Guest Additions (sudo sh ./VBoxLinuxAdditions-x86.run) and got the following error:
“Please install the build and header files for your current Linux kernel.”
As I understand the VirtualBox user manual, it says to perform the following to the OpenSUSE 11.1 guest:
Install DKMS (Dynamic Kernel Module Support
Install ‘kernel-source’ and ‘kernel-syms’ packages
I hit my first problem because I can’t find DKMS with YAST. Can someone tell me how to do this?
Is there anything else that I would need to do to get the VirtualBox 2.1.0 Guest Additions in OpenSUSE 11.1?
Just trying to RTFM and do what it says. In the VirtualBox 2.1 User Manual, Section 4.3.1 says to install DKMS in the guest. Then it refers back to Section 2.3.2, which says to install ‘kernel-source’ and ‘kernel-syms’ in SUSE and OpenSUSE
I’m testing out the “major” Linux distributions in VirtualBox to see which one I might want to install. In Mandriva 2009, the VirtualBox Guest Additions come pre-installed. The mouse pointer integration, better video support, seamless windows, etc. worked out-of-the-box. In Ubuntu 8.10, the build and header files step was not necessary; I only had to install the VirtualBox Guest Additions.
andrewk88 schrieb:
> As I understand the VirtualBox user manual, it says to perform the
> following to the OpenSUSE 11.1 guest:
>
> - Install DKMS (Dynamic Kernel Module Support
> - Install ‘kernel-source’ and ‘kernel-syms’ packages
>
>
> I hit my first problem because I can’t find DKMS with YAST. Can
> someone tell me how to do this?
If you look more closely, the manual says: “we recommend using
DKMS for Linux guests” (my emphasis), IOW it is not strictly
necessary. Try just skipping that step.
I was wondering if this was an acronym for the composite of packages such as (kernel-source, gcc, make). I’m still not sure. But I am confident you don’t need it.
So as I understand it. DKMS will automatically re-build packages to the upgraded kernel. Handy but not needed.
Just use the packages it requires, ignore DKMS.
I find openSUSE less successful than others such as Mandriva, Ubuntu, Fedora - as a Guest. It does not integrate as well even with the Guest tools installed, and often does not work in seemless mode.
I didn’t get any errors running “sudo sh ./VBoxLinuxAdditions-x86.run”, but after rebooting, none of the Guest Additions work (e.g. Mouse Integration isn’t enabled).
I used the following link and tried it with both Gnome and KDE versions of Opensuse 11.1 and it worked a treat. There is a large download involved (apprx 70MB) but after thats done its plain sailing