openSUSE Forums > Install/Boot/Login » VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read

Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-Jan-2009, 22:51
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 3
andrewk88 hasn't been rated much yet
Default VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

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:
  1. Install DKMS (Dynamic Kernel Module Support
  2. 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?
Reply With Quote
  #2 (permalink)  
Old 02-Jan-2009, 22:58
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,049
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

Quote:
Originally Posted by andrewk88 View Post
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:
  1. Install DKMS (Dynamic Kernel Module Support
  2. 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?
I have never come across the above point.

As far as I am aware, you need to install the kernel-source, make, gcc
packages. That should do it.
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 RC2 | Celeron 550 | (KDE4.3.3)"1" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #3 (permalink)  
Old 03-Jan-2009, 08:41
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 3
andrewk88 hasn't been rated much yet
Default Re: VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

Linux Newbie and OpenSUSE virgin...

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.
Reply With Quote
  #4 (permalink)  
Old 03-Jan-2009, 09:11
Tilman Schmidt
Guest
 
Posts: n/a
Default Re: VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

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.

HTH
T.
Reply With Quote
  #5 (permalink)  
Old 03-Jan-2009, 09:23
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,049
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

Quote:
Originally Posted by andrewk88 View Post
Linux Newbie and OpenSUSE virgin...

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 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.

Dynamic Kernel Module Support - Wikipedia, the free encyclopedia

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.
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 RC2 | Celeron 550 | (KDE4.3.3)"1" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #6 (permalink)  
Old 04-Jan-2009, 20:15
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 3
andrewk88 hasn't been rated much yet
Default Re: VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

I installed (w/ YAST):
  • kernel-source
  • kernel-syms
  • gcc
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).
Reply With Quote
  #7 (permalink)  
Old 04-Jan-2009, 22:08
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,049
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

With all the recent SUSE guests I have run, the VBOXadditions does not work properly. Mouse works though.
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 RC2 | Celeron 550 | (KDE4.3.3)"1" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #8 (permalink)  
Old 07-Jan-2009, 06:08
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 2
jcccccc hasn't been rated much yet
Default Re: VirtualBox 2.1 Guest Additions in OpenSUSE 11.1

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

Installing VirtualBox guest additions in OpenSuse « James Selvakumar’s Blog

Hope this helps
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2