Sun Microsystems 3.0.0 user manual Starting VirtualBox on Solaris, Uninstallation

Models: 3.0.0

1 259
Download 259 pages 49.67 Kb
Page 29
Image 29

2 Installation

Future versions of OpenSolaris may ship the VirtualBox kernel interface module, in which case you can remove this one before upgrading OpenSolaris.

Next you should install the main VirtualBox package using:

pkgadd -d VirtualBox-3.0.0-SunOS-x86.pkg

Note: If you are using Solaris Zones, to install VirtualBox only into the current zone and not into any other zone, use pkgadd -G. For more information refer to the pkgadd manual; see also chapter 2.4.5, Configuring a zone for running VirtualBox, page 30.

The installer will then prompt you to enter the package you wish to install. Choose “1” or “all” and proceed. Next the installer will ask you if you want to allow the postinstall script to be executed. Choose “y” and proceed as it is essential to execute this script which installs the VirtualBox kernel module. Following this confirmation the installer will install VirtualBox and execute the postinstall setup script.

Once the postinstall script has been executed your installation is now complete. You may now safely delete the uncompressed package and autoresponse files from your system. VirtualBox would be installed in /opt/VirtualBox.

2.4.2 Starting VirtualBox on Solaris

The easiest way to start a VirtualBox program is by running the program of your choice (VirtualBox, VBoxManage, VBoxSDL or VBoxHeadless) from a terminal. These are symbolic links to VBox.sh that start the required program for you.

Alternatively, you can directly invoke the required programs from /opt/VirtualBox. Using the links provided is easier as you do not have to type the full path.

You can configure some elements of the VirtualBox Qt GUI such as fonts and colours by executing VBoxQtconfig from the terminal.

2.4.3 Uninstallation

Uninstallation of VirtualBox on Solaris requires root permissions. To perform the unin- stallation, start a root terminal session and execute:

pkgrm SUNWvbox

After confirmation, this will remove VirtualBox from your system.

To uninstall the VirtualBox kernel interface module, execute:

pkgrm SUNWvboxkern

29

Page 29
Image 29
Sun Microsystems 3.0.0 user manual Starting VirtualBox on Solaris, Uninstallation