SUSE & openSUSE

Tips,Tricks, Tutorials,How Tos and Troubleshooting suse linux

How to install VirtualBox Guest Additions for openSUSE guest OS

Posted by admin on June 22nd, 2008


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.

Related posts

6 Responses to “How to install VirtualBox Guest Additions for openSUSE guest OS”

  1. JOKe Says:

    Will compiz fusion work after installing guest addons ?

  2. SoB Rogue Says:

    What Version of openSUSE is this for? I followed these direction in 11.0 to no avail. I also came across this on the Virtualbox site:
    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?

  3. RickRoller Says:

    No dice 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

  4. Wade Says:

    I’ve figured this much out in openSuse,

    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.

  5. Wade Says:

    The comments make the double dash look like one dash, so it should be “opensuse:~# yast2 - -install gcc gcc-c++ make kernel-source” where there are two dashes in front of install, no space in between them.

  6. stanleyxu2005 Says:

    1. Run “Install Software”
    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

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>