Home Wiki > VirtualBox
Sign up | Login

VirtualBox

tagline: From openSUSE

VirtualBox

VirtualBox-screenshot.png

VirtualBox 4.2.6 start window

Download for openSUSE:


Vendor: Oracle

License: GPL, PUEL
Web: virtualbox.org


About

VirtualBox is a virtualization product originally made by innotek. VirtualBox can be used on 32-bit or 64-bit Intel and AMD CPUs. The base package was released as free and open source software (GPLv2) in January of 2007. An add-on package which contains some features missing from the open-source version, such as USB 2.0 support, is licensed under a proprietary use that allows free use for personal and educational users.

VirtualBox comes with openSUSE and should work out-of-the-box. From openSUSE 11.4 on USB devices attached to the host can be used in guest operating systems after removing the '#' character in the last 2 lines of /etc/udev/rules.d/60-vboxdrv.rules. After a reboot USB support will work. Please consider the security risks this might cause.

VirtualBox running on openSUSE 12.3 a PCBSD Rolling Release session

In OpensuSE 12.2 modify the file /etc/udev/rules.d/10-vboxdrv.rules, and comment out the last 2 lines which mention ACTION=="remove". A reboot after that is required.

Installing the latest Version of the Guest Additions

The Guest Additions is a software that is installed in the guest operating system and aims to make interaction with and connecting to the guest simple and seamless, for example by enabling features like folder sharing with the host. By default openSUSE installs the Virtualbox guest additions automatically when it's installed as a Virtualbox guest.

However, as of openSUSE 11.4 the packaged Guest Additions version is slightly old, and may not allow use of Shared Folders with a Windows XP host for example.


To install the latest version from terminal follow these steps:

  1. sudo zypper rm virtualbox-guest-kmp-default virtualbox-guest-tools virtualbox-guest-x11
  2. sudo zypper in kernel-devel gcc make
  3. (Virtualbox menu)->Devices->Install Guest Additions. Then:

    sudo /media/VBOXADDITIONS_*/VBoxLinuxAdditions.run


Allowing Normal Users to Access Shared Folders

By default only the root user will be able to access Shared Folders mounted from the host system (usually these appear under /media). To allow ordinary users access to these folders:

  1. Open the User and Group Management module in YaST and add each user you want to grant permission to the vboxsf group
  2. Have the affected users logout and log back in, they should now be able to access Shared Folders.

Note: A lot of forum posts and guides on the Web advise you to fiddle around with /etc/fstab settings or manually mount Shared Folders using scripts. This simpler method removes the need for hacks like that.


External links