Installing VirtualBox in Ubuntu 8.04

Installing Virtual Box in Ubuntu should be an easy endeavor. I have come across several how-to documents that were confusing to say the least. This document will try to simplify the steps involved in installing Virtual Box in Ubuntu 8.04 Hardy Heron. Ok, let’s get started.

1. First, determine the current Linux kernel you are using. Click on Applications > Accessories > Terminal. Type the command:

$ uname -a
Linux penelope 2.6.24-19-generic

The result shows I’m running the Linux 2.6.24-19 kernel.

2. Next, install Virtual Box using the apt-get command. Substitute your current Linux kernel for virtualbox-ose-modules-generic.

$ sudo apt-get install virtualbox-ose virtualbox-ose-source
virtualbox-ose-modules-2.6.24-19-generic

3. Add yourself to the vboxusers group using one of the 3 commands. Choose only one command. I ran the first one.

sudo gpasswd -a `whoami` vboxusers
sudo usermod -Gvboxusers -a `whoami`
sudo adduser $USER vboxusers

4. Log out of your desktop session by hitting CTRL-ALT-Backspace. When you log in, your group membership will be updated.

5. Congratulations. You have successfully installed Virtual Box.

To install another OS, refer to the documentation Using Virtual Box.

The screenshot below shows the gOS 3 running on my Virtual Box.

2 thoughts on “Installing VirtualBox in Ubuntu 8.04

  1. Thanks a lot. I was doing via synaptic and never work, but writing that codes in terminal worked for me in an excelente way. A Really smart guide: It’s all I can write.

    Congratulations, people like you will help us to change the world

Comments are closed.