Friday, May 23, 2008

Solaris Virtualbox

Virtualbox is another full virtualization product, now bought by SUN and can work in solaris. But it cannot work in Solaris xVM. It will report "VirtualBox Kernel Driver not Loaded" error.

I am using OpenSolaris Express B87 and virtualbox1.6.

Virtualbox can be downloaded from the website http://virtualbox.org/wiki/Downloads

Virtualbox is available for all the platforms. For Solaris, it has 32-bit and 64-bit-AMD which corresponds to x-86 or AMD64. You can check by the command
bash-3.2# isainfo
amd64 i386

Then install the package by the pkgadd command
bash-3.2# pkgadd -d VirtualBox-1.6.0-SunOS-amd64-r30421.pkg
Package filename is VirtualBox-1.6.0-SunOS-amd64-r30421.pkg, which will install the package

For installation details, you can refer to READMe.txt, which contains all the instructions.

Run the Virtualbox by the command:
bash-3.2# VirtualBox
Note: VirtualBox V and B are capitalized.

Below is Virtualbox's application interface.

From now on, we will create a Solaris image in Virtualbox. Its image file is vmdk or vdi(virtual disk image). The image is created in the default directory /root/.VirtualBox/VDI. So if the image name is solarisV, it will be solarisV.vid

Once the solaris installation is done, the screenshot can be seen as below:
I saw a file looked like configuration file in the directory ~/.VirtualBox/Machines/solarisV/solarisV.xml.

Next, I tried windows on VirtualBox. It's just the same to follow the normal Windows XP installation steps.
The screenshot can be see as below:
Generally speaking, VirtualBox won't have any problem in installing any guest. It is full virtualization, and it is easy and simple to use and install. No tricky techniques there.



No comments: