Category Archives: Virtualisation

How to Install VirtualBox Guest Editions in Ubuntu Server 14.04


As I always forget how to do this in Ubuntu Desktop and Ubuntu Server, I wrote this brief tutorial to help me remember. It should work with any Debian based distribution.

Hopefully you will also find it useful.

Continue reading How to Install VirtualBox Guest Editions in Ubuntu Server 14.04

Advertisements

Running Kubuntu 10.04 in Virtualbox as a guest OS


Before you Start!

First of all I don’t use the Virtualbox version supplied with the Ubuntu distribution, as this version is the open source version and does not support USB devices. Instead I download it from the Virtualbox website http://www.virtualbox.org/wiki/Linux_Downloads.

When you create your virtual computer, do not set Display Settings in Virtualbox to used 3D video Acceleration until after you have installed Virtualbox additions, otherwise when you boot Kubuntu it will hang.

Furthermore, when you do set-up 3D Acceleration, make sure you have at least 24Mb of Video Memory (I use 64Mb), otherwise the Kubuntu splash screen will suffer video corruption.

Installing VirtualBox Guest Additions

Vitrtualbox Guest Additons provides improve performance and make integration much more seamless. Among the features provided by these Guest Additions are mouse pointer integration and arbitrary screen solutions (e.g. by resizing the guest window). There are also guest additions for OS/2 with somewhat reduced functionality.

Under Ubuntu 10.04 it does not install correctly, producing an error message “your system does not seem to be set up to build kernel modules”. The most noticeable problems are:

  • You do not get seamless integration between host and guest
  • Copy and paste between guest and host does not work.

However, some features do work like setting the correct screen resolution!

The fix is to install as follows:

1. From Terminal enter the following commands:

sudo apt-get update

sudo apt-get upgrade

to make sure your guest Ubuntu OS is fully up to date.

2. Now install additional packages:

sudo apt-get install dkms

sudo apt-get install build-essential

Reboot the guest.

3. Once the guest OS has rebooted, go to the Virtualbox Devices entry on the menu bar of the guest OS and select Install Guest Additions… , this will load the Guest Additions ISO CD image. Mount the image in Kubuntu and then open Terminal and enter the following commands:

cd /media/VBOXADDITIONS_3.1.8_61349/

sudo ./VBoxLinuxAdditions-x86.run

The Virtualbox guest additions will now install correctly.

Reboot the guest OS and you will now have a fully integrated Virtualbox guest OS.

One Additional Note:

You may notice that your Kubuntu guest is running relatively slowly (also noticeable on a “bare-metal” install), this is because the Nepomuk desktop Search feature is enabled by default. I’ve yet to understand why someone thought this was a good idea!

Anyway it can be easily disabled by clicking on the icon in System Settings and selecting disable. Instructions can be found at http://www.freetechie.com/blog/disable-nepomuk-desktop-search-on-kde-4-4-2-kubuntu-lucid-10-04/ for those in need more complete instructions.

=-=-=-=-=
Powered by Blogilo