Showing posts with label virtualbox. Show all posts
Showing posts with label virtualbox. Show all posts

Saturday, September 27, 2008

Setup New Installation of Sun VirtualBox 2.0.2


VirtualBox is a x86 architecture virtualization package developed by Innotek, a Germany company which acquired by Sun on February 2008 to add to its portfolio of open source software. Innotek had a significant experience in developing add ons to make it smoother for the interaction and switching between the host and guest operating system. Sun has made some improvements in it as well after the acquisition.
Okay, for those who are not familiar with the virtualization term, host operating system means the operating system that we are running. The guest operating system is the operating system that is run on top of the VirtualBox virtualization software. This is of course a loose definition. You might be able to run virtualization software on the guest operating system.

As part of its commitment to open source, aside from the PUEL (personal use and evaluation license)  licensing, Sun has made it available to public the OSE (open source edition) version to public. In plain English, this means that we can use the OSE version unsupported for free (under GNU GPL). For personal use only, we can use the PUEL version which is richer in features.

Download the installer from here. Download the PUEL binaries.

For those who want to play around with operating system other than ones installed in your computer, I will demonstrate how to install VirtualBox on Windows Vista, as this is currently the environment that I have at home. I downloaded the the x86 version, it's because I'm using a 32-bit Windows Vista though my laptop's processor is AMD Turion64/x2 (dual core). I would be able to install the AMD64 version when I run it in my laptop under OpenSolaris. I'm not interested to switch to Windows Vista 64-bit version in near future.

Run the executable. You will probably encounter this dialog when running the Windows installer on Vista default security setting:



Click the "Run" button.

The welcome screen will be displayed.

Click "Next".
Click on the "I accept the terms in the License Agreement" if you agree with the license agreement. Click "Next".

Click "Next" to accept the default installation folder.

Click "Install" to start the installation.


Windows will confirm whether we want to install these device adapters (USB and network adapter):

Just click "Install" on each of those confirmations.

If everything ok, the installer will finish with this screen.


Just click "Finsh" button and there you are!

Try to find "Sun xVM VirtualBox > VirtualBox" in the Start Menu, click to execute the application.





Wednesday, September 24, 2008

Upgrading to VirtualBox 2.0.2

I'm using VirtualBox for personal usage under PUEL license. There is another version, Open Source Edition (OSE) which you may use for it is free of charge under GNU GPL 2.

With VirtualBox I can do some experiments and even try other enviroments without having to reboot my box. 

I keep these 2 installation on my VirtualBox: 



  • OpenSolaris 11

  • Ubuntu



A newer version of VirtualBox has been launched, it is recommended to upgrade to this latest version 2.0.2. Download the version that match your platform here.


I'm upgrading my box to 2.0.2 from previous 1.6.2 version.

This is the screen capture of a VirtualBox:



After upgrading, I try to run the OpenSolaris, it boots correctly:
Seems that there is a minor glitch here, an warning  message appeared:

WARNING: cpu0: failed to update microcode code from version 0x0 to 0x2

The microcode of the CPU emulated between 1.6.2 and 2.0.2 might be a bit different and OpenSolaris detected it.

Anyway, the OpenSolaris does not seem to have problem running on the new version.


My Ubuntu installation also ran well on the new installation:


WARNING:

Please take note that the saved state of previous version might not work in the newer version. Make sure to shutdown your guest operating system on the old installation before upgrading.


Thursday, September 18, 2008

Failed to install varnish in Ubuntu

Today I tried to install SCons on my VirtualBox Ubuntu. It gave an error because my previous installation of varnish on this Ubuntu failed, so every time I invoke the apt-get install, it will try to install the varnish again and repeat the same failure. The failure is revolved around the inavailability to the crti.o library.
It seems that I'm not alone. Somebody else had failed installing varnish on Ubuntu and had the same problem.


I found out that the cause of the problem is the lacking of libc6-dev in my Ubuntu installation.

The fix to this problem turned out to be just installing the Ubuntu package libc6-dev.

The varnish installation needs the SHMEM library related to the existence of the crti.o object file in the C library (seems that it is a kernel specific library).

$ sudo apt-get install libc6-dev

or

$ sudo aptitude install libc6-dev

The package manager will choose the most suitable c library for your Ubuntu kernel.

Voila, it works!

When the failed pending varnish installation has been cleared, the uninstall feature (apt-get remove varnish) back into action again! I could install/reinstall varnish again.