SDB:VirtualBox Installation

Jump to: navigation, search


Oracle VM VirtualBox is an x86 virtualization software package; it is installed on an existing host operating system as an application; this host application allows additional guest operating systems, each known as a Guest OS, to be loaded and run, each with its own virtual environment.

Requirements

  • A computer with openSUSE installed (any GUI will do)
  • Have an active internet connection
  • Use this guide as reference

Installing VirtualBox

  • Install virtualbox from YaST. Alternatively, visit the VirtualBox Website, then check out the downloads section and download the latest available RPM package for openSUSE. You can also search, download and install the package from the openSUSE Build Service taking care of choosing the correct distribution.
  • You will need a few extra packages. These are: gcc, make and kernel-devel. Install them using yast. Alternatively, open a terminal window, log-in as root, and run the following command:
zypper in gcc make kernel-devel

The installation of the packages might take some time, depending on your internet connection.

  • Open Yast, authenticate as root, and then go to Security and Users --> User and group management. Select your username from the list, then click Edit to make a username modification. Go to the tab named Details, then tick the group 'vboxusers' in order to add your username to that group. Make sure to reboot at this moment in order for changes to take effect.
  • After your system reboots, you are ready to run VirtualBox. In KDE, VirtualBox should be in Applications --> System --> Virtual Machine (Oracle VM VirtualBox).

Upgrading the kernel

The first time you reboot right after a kernel update, open a terminal window, authenticate as root, and run the following command:

/etc/init.d/vboxdrv setup

This will recompile the kernel modules.


See also