Sun xVM Virtual Box

This is a quick guide to install Sun xVM Virtual Box on Debian Linux.
First download the required binary of Sun xVM Virtual Box from the following link

Become root user and run

dpkg -i virtualbox-2.0_2.0.2-36488_Debian….

If you face dependency problem then simply run

apt-get -f install

and then again run

dpkg -i virtualbox-2.0_2.0.2-36488_Debian….

You are Done!!

Now run the following command as regular user from your konsole

VirtualBox &

Now like VMware you can either create a new VM image or use the existing VM image.

Before running your virtual machine please fix the following thing first. The critical part of Sun xVM is that by default uses NAT to reach other machines in your LAN or elsewhere.But we want Bridge.

For that we need some extra packages and need to modify our current network settings.


apt-get install uml-utilities bridge-utils


adduser <yourusername> uml-net


Just add the couple of lines on /etc/network/interfaces

####### Following setup for Sun xVM Virtual Box #########

auto tap0
iface tap0 inet manual
up ifconfig $IFACE up
down ifconfig $IFACE down
tunctl_user <your username> [don forget to change this]

auto br0
iface br0 inet static
address 192.168.x.x [your current assigned ip]
netmask 255.255.x.x
gateway 192.168.x.x
bridge_ports all tap0

Now Just restart your network service

/etc/init.d/networking restart

Make sure, at the GUI VirtualBox panel, select “Network”, Select “Host Interface” at “Attached to” and fill in the blank to “tap0″ at “Interface Name”.

thats it!!!

Now run your Virtual machine …

Hot Key for running your Sun xVM Virtual Box-

To run the Virtual Box — VirtualBox &
To start a machine just select the machine and click start (in your case there are only one
machine and just click start).
For Fullscreen — right ctrl+F
To exit Fullscreen — right ctrl+F
To release the cursor — right ctrl.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: