VirtualBox uses a special kernel module named ‘vboxdrv’ to perform physical memory allocation and to gain the control of processor for guest system execution. You no need to install by yourself, it is automatically installed during installation of VirtualBox.

Likewise you need network kernel modules such as ‘vboxnetflt’ and ‘vboxnetadp’ which are required for the more advanced networking features of VirtualBox.

To maintain it with future kernel updates, we need a framework named Dynamic Kernel Module Support (DKMS). It is so simple to get it

$ sudo apt-get install dkms

You can find your debian version at

$ cat /etc/debian_version

You can download the appropriate VirtualBox for your version, from here

I downloaded a package ‘virtualbox-4.2_4.2.10-84104~Debian~squeeze_i386.deb’ and copied inside /opt directory.

/opt/VirtualBox$ sudo dpkg -i virtualbox-4.2_4.2.10-84104~Debian~squeeze_i386.deb

my installation is completed, since I am sure with /var/log/vbox-install.log

of having line at bottom

DKMS: install Completed.

If anything goes wrong, track the cause for failure from /var/log/vbox-install.log file after resolving it, try to resume process with

$ sudo /etc/init.d/vboxdrv setup

This will again start build process

Main cause for failure will be due to right version of the linux-headers. Current debian releases should have the right packages installed by default. In even older Debian and Ubuntu releases, you must install the right version of the kernel-headers package. Be aware while hand rolling new kernel by yourself..

After successful installation,

Start your VirtualBox with

$ VirtualBox

Have fun …!



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