2 Installation details After confirmation, this will remove VirtualBox from your system. If you are uninstalling VirtualBox version 3.0 or lower, you need to remove the VirtualBox kernel interface package, execute: pkgrm SUNWvboxkern 2.4.4 Unattended installation To perform a non-interactive installation of VirtualBox we have provided a response file named autoresponse that the installer will use for responses to inputs rather than ask them from you. Extract the tar.gz package as described in the normal installation. Then open a root terminal session and execute: pkgadd -d VirtualBox-4.0.4-SunOS-x86 -n -a autoresponse SUNWvbox To perform a non-interactive uninstallation, open a root terminal session and execute: pkgrm -n -a /opt/VirtualBox/autoresponse SUNWvbox 2.4.5 Configuring a zone for running VirtualBox Starting with VirtualBox 1.6 it is possible to run VirtualBox from within Solaris zones. For an introduction of Solaris zones, please refer to http://www.sun.com/bigadmin/features/ articles/solaris_zones.jsp. Assuming that VirtualBox has already been installed into your zone, you need to give the zone access to VirtualBox’s device node. This is done by performing the following steps. Start a root terminal and execute: zonecfg -z vboxzone Inside the zonecfg prompt add the device resource and match properties to the zone. Here’s how it can be done: zonecfg:vboxzoneadd device zonecfg:vboxzone:deviceset match=/dev/vboxdrv zonecfg:vboxzone:deviceend zonecfg:vboxzoneverify zonecfg:vboxzoneexit If you are running VirtualBox 2.2.0 or above on Solaris 11 or Nevada hosts, you should add a device for /dev/vboxusbmon too, similar to what was shown above. This does not apply to Solaris 10 hosts due to lack of USB support. Replace “vboxzone” with the name of the zone in which you intend to run VirtualBox. Next reboot the zone using zoneadm and you should be able to run VirtualBox from within the config- ured zone. 38
Previous Page Next Page