VirtualBox (now Sun xVM) Guest Additions are a set of drivers and utilities that are shipped as a subset of VirtualBox for the purpose of being installed inside a Guest Computer to improve its performance and cooperation with the rest of the Product.
If you are running openSUSE as a guest OS and want to install the VirtualBox Guest Additions then follow the procedure below:
Install GNU C Compiler, Make and Kernel Source
The VirtualBox Guest Additions require the GNU C compiler, make utility and the Kernel-Source packages to be installed if not previously installed.
Switch user to Root and install the packages
saibaba@opensuse:~> su –
password:opensuse:~# yast2 –install gcc gcc-c++ make kernel-source
This installs the GNU C, C++ compilers, Kernel-Source package and the make utility.
Now, from the host OS, on the Guest OS Virtualbox Devices menu, click “Install Guest Additions…” this mounts a virtual CD volume on the openSUSE guest OS under
/media/cdrom/VBOXADDITIONS_<version>
here it is
/media/cdrom/VBOXADDITIONS_1.6.2_31466
Change directory to that window and run the install script
opensuse:~# cd /media/cdrom/VBOXADDITIONS_1.6.2_31466/
opensuse:~# ./VBoxLinuxAdditions.run all
This should install the VirtualBox Guest Additions. Now restart the openSUSE guest OS for the additions to take effect. The Guest Additions improve guest performance and user experience including display settings etc.
http://www.virtualbox.org/wiki/Guest_OSes
openSUSE 11.0 status is- Works partially, Additions do not support X11 yet
So I’m guessing that’s why I’m having issues, unless I did something wrong….
Has anyone else gotten GuestAdditons to work in 11.0?
No such client module –install
The search path follows. It does not include the current directory.
/y2update/clients
/root/.yast2/clients
/usr/share/YaST2/clients
It should be “opensuse:~# yast2 –install gcc gcc-c++ make kernel-source”
Note the double dash
For me it was “cd /media/VBOXADDITIONS_”
Note the removal of cdrom
I ran into an issue where it said the last kernel build failed,so the Guest Additions didn’t succeed.I then went to the Install Software section and installed the default kernel, and then tried to install guest additions again and it worked.
2. Press “CTRL+M” to launch Repository Manager”
3. Add “http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUSE_11.0/” as a new repository
4. Run “Install Software” again
5. Type “virtualbox” in Search Box. (You will see three new updates of VirtualBox)
6. Right click on these new updates and select “Update”
7. Press “Accept” to finish the update progress
8. Restart your system
9. Run “sudo sh ./media/…./VBoxLinux-x86.run”
10. Restart your system
Done! Tested with openSUSE v11 + VirtualBox 2.04
“*** Error: unable to find the include directory for your current Linux Kerlnel. Specify KERN_INCL=$ and run Make again.
Anybody else experience this?
“MakeFile:38 *** Error: unable to find the include directory for your current linux kernel. Specify KERN_INCL=”
Anyone else get this?
the following link should help you:
http://www.virtualbox.org/changeset/375
I have the same problem, I will try to fix it during the weekend…let me know if ok
Sergio
I do have a new linux kernel to put in place and new virtual box update I saw go out. I’ll post back if I have any upgrade issues.
Hope this helps.
yast2 –-install gcc gcc-c++ make kernel-source
command.
Yast2 opens, starts to grab packages, but it says there are 732mb worth of packages? It is also installing things like ‘myspell-british’ and ‘kde4-l10n-en-_GB’
have I done something wrong? It seems a bit weird that gcc, gcc-c++, make, and kernel-source would be 730mb!
I did however temporarily change the repository priorities to give the openSuse 11.1 install DVD an important priority (50) and the net (http://download.opensuse..) a less important priority (60), so that the kernel sources wouldn’t be downloaded, but rather, installed from the DVD.
Thanks for this post – it saved me lots of time.
I’m having the following problem: I’m running openSuse 11 in a VirtualBox on WinVista. I Installed the GuestAdditions (using the *.x86 ISO image, because I couldn’t find an *i586 image), everything seemed to work fine (mouse sharing, desktop resizing, …)… BUT: keyboard layout was changed from German layout to American layout. Well, no big deal, changed it back to German… but after reboot, keyboard isn’t recognized anymore, neither in the login screen nor (using autologin) on the KDE or GNOME desktop.
Have no idea what went wrong, didn’t get any error messages…
Hope any of you guys have an idea or solution for this problem…?
I am having the same problem as Axel Schroeder. Does anyone know anything?
Booting in failsafe mode gives a ‘us’ (as in american) keyboard layout, which can then be changed in /etc/X11/xconf.conf.install to ‘de’ to give a german layout. But in normal mode the keyboard within the guest machine simply does not react. Outside the guest machine, e.g. the host key, everything works fine.
Host: WinXP (SP2)
Guest: openSUSE 11.1 (with all updates added before adding ‘Guest Additions’)
Thanks to anyone who can add anything here.
hi,
try this: controlcenter/hardware -> keyboard -> layouts and change settings.
maybe this link helps:
http://www.novell.com/documentation/opensuse103/opensuse103_gnome_user/?page=/documentation/opensuse103/opensuse103_gnome_user/data/bssdjdl.html
There are two problems here.
1. The keyboard / keyboard input is not recognised, i.e. I can’t type anything. I can use the mouse (copy / paste)
2. The keyboard is not recognised as a german keyboard.
I guess if you fix 1. then 2. will automatically be fixed.
Thanks all the same.
openSUSE 11.1
Virtualbox 3.0.8
Kernel and Kernel-source version 2.6.27.7-9.1
This combo works as long as you make sure the kernel-source version installed via yast2 is the same as the one you get after running
uname -a
First I install openSUSE 11.2 from DVD.
Afterwards I configure install sources temporarily for a initial installation, by set in the repository priorities DVD as only. (Increase installation speed)
openSUSE 11.2
Virtualbox 3.0.12
As packet manager I used zypper instead of yast2.
1. -> sudo zypper install gcc make (compiler)
2. -> automake autoconf (required by Guest Additions 3.0.12)
3. -> sudo zypper install kernel-source kernel-syms (kernel source)
I found out additional that to “kernel-source” kernel-syms” is required too for a successful installation of Guest Additions 3.0.12.
Finally install Guest Additions with
4. -> sudo sh ./VBoxLinuxAdditions-x86.run
With my configuration command line 4. fails if “kernel-syms” is not installed.
Also when in fail safe i change desktop to Display Effects all i get is a white screen now.
Simply Know this command:mount -t vboxsf [-o OPTIONS] sharename mountpoint
Procedure
Sharename: Devices>Shared Folder>[smith]
Mountpoint: /mnt/documents
Note create the folder: mkdir /mnt/documents
mount -t vboxsf smith /mnt/documents
Enjoy