Install Ubuntu 14.04.2 properly as guest OS in VirtualBox

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.

Screen 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:1.14.99.902)”
    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,

http://nocurve.com/ubuntu-14-04-lts-slow-on-virtualbox/

http://askubuntu.com/questions/453106/ubuntu-14-04-very-slow-ui-in-oracle-virtualbox

http://askubuntu.com/questions/207813/why-does-a-ubuntu-guest-in-virtualbox-run-very-very-slowly

http://askubuntu.com/questions/451805/screen-resolution-problem-with-ubuntu-14-04-and-virtualbox

http://askubuntu.com/questions/526995/installing-guest-additions-causing-problems/527077#527077

http://www.binarytides.com/vbox-guest-additions-ubuntu-14-04/

https://www.virtualbox.org/wiki/Downloads

Send your idea and information to kasra@madadipouya.com

Leave a Reply