Archive for the ‘Virtualisation’ Category

VirtualBox Kernel Driver Not Installed

Friday, August 8th, 2008

Remember my previous posts about installing VirtualBox on Ubuntu Hardy Heron?

It has been a while since I last played with it, due to other commitments. So, I wanted to install Windows XP on VirtualBox, and I stumbled across this error: VirtualBox kernel driver not installed.

Not sure what went wrong, could be some updates in between broke it, if anyone know the exact reason for this, let me know.

To fix, follow the instruction:

sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module
*  done.
* Recompiling VirtualBox kernel module
*  done.
* Starting VirtualBox kernel module
*  done.

And I tried to start my VM again, it works.

OpenSolaris 2008.05 on VirtualBox 1.6.0

Thursday, May 15th, 2008

Refer to my previous post on how to get VirtualBox 1.6.0 running on Ubuntu 8.04.

According to Ubuntu Unleashed [1], to enable VirtualBox’s USB support, modify your /etc/init.d/mountdevsubfs.sh, uncomment the last four lines:

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb

I have downloaded the ISO of OpenSolaris 2008.05. The details of how to create a virtual machine with an ISO can be found here.

Running OpenSolaris as a LiveCD:

OpenSolaris as LiveCD (VirtualBox 1.6.0)

Installing to Virtual Hard Drive:

OpenSolaris Installing to Virtual Hard Drive (VirtualBox 1.6.0)

Boot into OpenSolaris from VirtualBox:

Boot into OpenSolaris (VirtualBox 1.6.0)

It is recommended that we install the Guest Additions after booting into your Guest OS. From menubar, Devices > Install Guest Additions…

The Guest Additions ISO will be mounted automatically, open up a terminal:

cd /media/VBOXADDITIONS_1.6.0_30421/
pkgadd -d ./VBoxSolarisAdditions.pkg

A few differences that I noticed after installing the Guest Additions:

  • Better mouse sharing, I don’t have to click in the Virtual OS window to move the mouse focus into the virtual machine.
  • Seamless mode works!

What is seamless mode? Have a look:

OpenSolaris Seamless Mode (VirtualBox 1.6.0)

ref:

  1. Howto: Install VirtualBox in Ubuntu Hardy Heron with USB Support in 5 easy Steps!

VirtualBox 1.6.0

Thursday, May 15th, 2008

Installed it on zangetsu, time to try out things..

Downloaded the .deb file:

sudo dpkg -i virtualbox_1.6.0-30421_Ubuntu_hardy_i386.deb

It’s telling me that I am missing some dependencies.. libqt3-mt specifically.

sudo apt-get install libqt3-mt

Then try dpkg again, and VirtualBox is installed successfully. You’ll have to add yourself to the group called vboxusers:

sudo adduser $USER vboxusers

Logout, and login again to make sure you are logged into the group vboxusers.

Start VirtualBox from Applications > System Tools > Sun xVM VirtualBox

Sun xVM VirtualBox on Ubuntu Hardy Heron