In most cases, installing an OS in Virtualbox is easy. The installation steps are similar, regardless of the OS you are using. However, for Ubuntu, particularly for the latest release, getting it to run in Virtualbox is often hit or miss. Here are two problems that I encountered while installing Ubuntu 14.10 in Virtualbox and their solutions.
Note: The following solutions are performed on a Ubuntu host machine.
1. Cannot boot into the liveCD desktop
When you boot the Ubuntu ISO file in your Virtualbox, you will reach this screen with distorted graphics.
The fix for this is simple:
1. Make sure the Virtualbox window is in focus. Press the “Right Ctrl + F1” buttons. This will bring up a virtual terminal.
Note: Make sure you are pressing the “Ctrl” button on the right side of the keyboard.
2. Press “Right Ctrl + F7.” This will bring it back to the default screen without the distorted graphics.
That’s it. You can proceed to try out or install Ubuntu 14.10.
2. Resolution stuck at 640×480
After you have installed Ubuntu 14.10 in Virtualbox and booted into the desktop, you will find that the resolution is stuck at 640×480 even after the Guest Addition is installed. To fix this:
1. In Ubuntu 14.10 guest, open a terminal.
2. Enter the following command to install
sudo apt-get install virtualbox-guest-dkms
Once installed, restart the VM. Your desktop will now expand to match the resolution of the host machine.
The above-mentioned problems are the only issues I faced while installing Ubuntu 14.10 in Virtualbox. If you come across more problems, do let us know in the comments and we will look into it.