Home
Up

VirtualBox
...Extensions
...Solaris 10 64 bit Installation Tips
VMWare
DOSbox
This page gathers information concerning the use of virtualization tools
Those notes provide commands or tips relative to Debian / Ubuntu only.
Those notes are for Solaris / OpenSolaris only.

VirtualBox

OpenIndiana, Solaris 10 OpenSolaris 2009.06 Debian Ubuntu Windows
Yes. Download VirtualBox from www.virtualbox.org Yes. There are two packages to install: SUNWvboxkern and SUNWvbox. For an upgrade, remote the previous versions first. Then install first the vboxkern package, and finally vbox

Virtual Box is an open source alternative to VMWare. Make sure your id is in the vboxuser group (or issues with USB subsystem).
To debug issues: VBoxManage showvminfo VMNAME

VirtualBox extensions

Do this from a Virtual Box from settings/extensions.

Solaris 10 64 bit Installation Tips

  • Unpack the package
  • If you have an old version of VirtualBox, it's safer to uninstall it first.
  • Add the kernel package first
  • Add the user package
  • Run /opt/VirtualBox/VirtualBox
So the commands are:
# gunzip VirtualBox-1.6.2-SunOS_amd64.tar.gz
# tar -xvf VirtualBox-1.6.2-SunOS_amd64.tar
# pkgadd -d VirtualBoxKern-1.6.2-SunOS-r31466.pkg
# pkgadd -d VirtualBox-1.6.2-SunOS-amd64-r31466.pkg
$ VirtualBox &

To be able to launch VirtualBox, make sure to add your users to the vboxusers group.

VMWare

Debian

VMware is typically installed in /usr/bin. To uninstall it, run /usr/bin/vmware-uninstall.pl

Once installed, to get rid of GCC not found complaints:

sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/
sudo cp /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc_s.so /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
    To configure VMWare: /usr/bin/vmware-config.pl
  • To run VMWare: /usr/bin/vmplayer for the VMWare Player, or /usr/bin/vmware for the VMWare Server.
  • To create a new VMWare guest: try EasyVMX (creates the vmx, preformats the disks), then install your OS in there.
  • For VMplayer to access the parallel port: chmod o+rw /dev/parport0
  • So that VMPlayer does not say it is occupied: rmmod lp

/Old: apt-get install linux-headers-2.6.18-5-amd64: needed to be able to rebuild a vmmon kernel module

Dosbox

DOSBox is an Intel x86 PC emulator. It is said to run on several systems, I have got it to work on OpenSolaris x86.
  • Download the sources
  • ./configure
  • Modify the main Makefile in the src directory to remove everything that concerns the debug directory, libdebug.a, libgui_tk.a
--- #dosbox_DEPENDENCIES = cpu/libcpu.a debug/libdebug.a dos/libdos.a \
	fpu/libfpu.a hardware/libhardware.a gui/libgui.a \
	ints/libints.a misc/libmisc.a shell/libshell.a \
	hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a
+++ dosbox_DEPENDENCIES = cpu/libcpu.a dos/libdos.a \
	fpu/libfpu.a hardware/libhardware.a gui/libgui.a \
	ints/libints.a misc/libmisc.a shell/libshell.a \
	hardware/serialport/libserial.a 
..
--- #SUBDIRS = cpu debug dos fpu gui hardware libs ints misc shell platform 
+++ SUBDIRS = cpu dos fpu gui hardware libs ints misc shell platform 
..
--- #dosbox_LDADD = cpu/libcpu.a debug/libdebug.a dos/libdos.a 
    fpu/libfpu.a  hardware/libhardware.a gui/libgui.a \
    ints/libints.a misc/libmisc.a shell/libshell.a \
    hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a
+++ dosbox_LDADD = cpu/libcpu.a dos/libdos.a fpu/libfpu.a  
    hardware/libhardware.a gui/libgui.a \
               ints/libints.a misc/libmisc.a \
    shell/libshell.a hardware/serialport/libserial.a
Then, do make.
Once in dosbox, do something like:
keyb fr
mount c ~/softs/dosbox/games
DOS Games can be downloaded from websites such as Free Game Empire. X-Wing, SimCity and TIE Fighter are known to work in DOSBox. Usually, try and launch a program called "install" first, and then launch the program.
Mounting a CDROM for DOSBox