Install Ubuntu 14.04.2 properly as guest OS in VirtualBox

Default featured post

This post starts with few complains. First don’t buy Dell laptop at all no matter what is the specification and how cheap it is, you can read more about my complaint in this post.

Secondly, Ubuntu did a great job with version LTS 14.04, however it makes life tremendously difficult for those who want to have it in VirtualBox and cost me to waste many hours searching and trying to figure out solutions for below explained issues.

Scree resolution problem

The first issue I have noticed was the screen resolution in Ubuntu. I was unable to change resolution and that drove me nut. I searched on the net and found other people have the same problem. Tried many ways and mostly didn’t work. At the end I came to conclusion to write up a guideline for others to suffer less that I did.

Anyhow, to resolve the problems you have to following the below steps,

  1. Download and install Oracle VM VirtualBox Extension Pack
  2. Go to System settings → Software and Updates → Additional drivers
  3. sudo apt-get install build-essential module-assistant
  4. sudo m-a prepare
  5. sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
    1. If you face the error The following packages have unmet dependencies: virtualbox-guest-x11: Depends: xorg-video-abi-15 Depends: xserver-xorg-core (>= 2:
    2. sudo apt-get remove libcheese-gtk23
    3. sudo apt-get install xserver-xorg-core
    4. sudo apt-get install -f virtualbox-guest-x11
  6. Installing VirtualBox guest addition in your Ubuntu

Slowness of Ubuntu

I don’t know how to explain this matter but Ubuntu 14.04.2 is very slow on my system and I have found others are having the same problem, the following are some structure which helped me to enhance the speed.

  1. Enabling 3D Video Acceleration in VirtualBox under Display menu.
  2. Enabling Use Host I/O Cache under Storage menu of VirtualBox.

It is also worth to mention that I had no other alternative except using Linux as Guest OS because I struggled a lot to install Linux in the new laptop but at the end none worked and still trying to figure out a way to install Linux in my laptop but at least for time being I am having it as Guest OS because life without Linux is kind of difficult for me.

You can find more in the following links,