Dominique Merle's Weblog LYON

Friday Aug 29, 2008

This is a post that will help you to install xVM Virtual Box on OpenSolaris 2008 snv_95 in five instructions steps.

The release of OpenSolaris which is installed on my laptop Toshiba Tecra M3 is:

# uname -a
SunOS opensolaris 5.11 snv_95 i86pc i386 i86pc Solaris

A) First, download xVM from http://virtualbox.org

Select xVMVirtualBox1.6.4 for OpenSolaris x86

B) Unwrap the downloaded stuff

Unzip and then untar:

#gunzip VirtualBox-1.6.4-SunOS_x86.tar.gz

#tar -xvf VirtualBox-1.6.4-SunOS_x86.tar

#more ReadMe.txt 

#pkgadd -G -d VirtualBoxKern-1.6.4-SunOS-r33808.pkg

#pkgadd -G -d VirtualBoxKern-1.6.4-SunOS-r33808.pkg

I installed it in /opt

ATTENTION: if you try to run VirtualBox from here, you wil get this following error:

ERROR 0 bytes from child process. Failed to create the VirtualBox COM object

Proceed to step C:

C) Use this workaround :
You have to be root.

# cd /opt/VirtualBoxVirtualBox/VBoxSVC.real "$@"
# chmod +x VBoxSVC# mv VBoxSVC VBoxSVC.real
# cat > VBoxSVC
#!/bin/sh
LD_NODIRECT=1
export LD_NODIRECT 
exec /opt/VirtualBox/VBoxSVC.real "$@"

# chmod +x VBoxSVC

 

D) Start VirtualBox as a regular user

#/opt/VirtualBox/VirtualBox

During the installation menu, i selected the following options:

  • Name: Windows
  • OS: Windows XP
  • memory: 512Mo
  • Disk: new dynamically disk of 6GB installed in /export/home/dmerle/.VirtualBox/VDI/windows.vdi

E) Install Windows XP with a CD of Windows.

Insert your Windows XP in the CD reader...later on enter your licence key

Reconfigure input key if necessary: my laptop has no Right Ctrl key, so i had to reconfigure:

Go to File -> Preferences and change input to  Left Ctrl

xVMKey

Usage: My laptop has only 1GB of RAM. Enough to run Sun xVM VirtualBox. But when you switch your mouse to OpenSolaris and start Firefox, the machine is swapping. But that works quick enough for me :=)

If you want to have the sound working, just adjust it in the Preferences menu:



Comments:

Post a Comment:
Comments are closed for this entry.