How to install Virtualbox 2.2.0 in Ubuntu 9.04 (Jaunty)

Sponsored Link
VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software.

Install irtualbox 2.2.0 in Ubuntu 9.04

Preparing your system

First you need to install the following package.Dynamic Kernel Module Support Framework.This package contains the framework for the Dynamic Kernel Module Support (DKMS) method for installing and updating kernel modules.

sudo apt-get install dkms

First you need to download .deb package for ubuntu jaunty from here

Now you need to open the .deb package using GDebi click ok

File download in progress

Virtualbox .deb extract in progress

Now you need to click on "Install Package"

Enter your password click ok

Downloading additional package files in progress

Installing dependencies

Installing virtualbox 2.2 in progress

In the installation process

Creating vboxusers group click Forward

Compiling vboxdrv module be compiled now click Forward

Virtualbox-2.2 completed

Now go to Applications--->System Tools--->Sun VirtualBox

Now agree license by clicking on "I Agree"

Virtualbox main screen

Virtualbox version details

Install Virtualbox opensource edition in Ubuntu Jaunty

If you want to install Virtualbox opensource edition in Ubuntu Jaunty using the following command

sudo apt-get install virtualbox-ose virtualbox-ose-guest-source virtualbox-ose-guest-utils dkms

Sponsored Link

You may also like...

32 Responses

  1. Belzecue says:

    VirtualBox 2.2 is buggy as hell. Consider sticking with 2.1.4 until 2.2 settles down. It’s a great product. Pity it will likely die a slow death now that Oracle owns Sun.

  2. Simon says:

    Just a general question you maybe able to help with. I installed this by using the repository which worked just as well.

    If it install using the .deb file will I get updates in the same way as by using the repository (as in automatically).

  3. nbensa says:

    @Simon:

    Nop.

  4. admin says:

    No each time you have to uninstall and reinstall new package

  5. Michael says:

    @Belzecue: Could you please say more about the bugs you found of VirtualBox 2.2.
    I use this version for quite a while, but I am very happy with it and have found no bugs so far.
    My guest OS runs Windows XP Proffesional by the way and it runs blindly fast.
    Regards,
    —Michael

  6. Arab Najjar says:

    the 2.2.2 was released last night and it fixed a lot of bugs .

    another thing you may be forget in your article that is recommended to install DKMS so the vbox modules are auto compiled when we update the kernel without need to recompile it manuly
    to install it :

    sudo apt-get install dkms

  7. Grace says:

    I install the virtualbox and i have 2 questions:
    (1) Since I installed it using synaptic package manager, should I use your method instead?
    (2) I am dual booting with ubuntu and winxp, but virtual box can’t find my winxp, can u tell me what i did wrong?

    Thanks for any help u can give me.

    Grace

  8. John Ruschmeyer says:

    @Simon:

    There is a VirtualBox repository that you can add to the sources.list. The ubuntu entry is on the same page as the download links.

    This works fine for minor version bumps (i.e. 2.2.0 -> 2.2.2, when it comes out), but will likely fail on the next major bump (i.e., 2.2 -> 2.3) due to the convention Sun uses in naming the VirtualBox package (i.e., virtualbox-22).

  9. admin says:

    @Najjar

    Thanks for your reply i have updated the article

  10. Michael says:

    @Grace: It is fine you have installed it using package manager. No need to do it again as described here in my opinion.
    For your second question:
    It is not possible using an existing installed Windows XP on an existing partition.
    You have to install it again using the Windows XP installation media. Sorry for this, but it the time worth to do it, believe me.
    —Michael

  11. mackdaddy0586 says:

    Does anyone have a copy of the virtualbox 2.2.2 ubunto 8.10 amd64 .deb? or know where to get it. Sun download site has been down for over a day now?

  12. conflict on upgrade says:

    trying to upgrade from 2.1 to 2.2 I get the message:

    Error: Conflicts with the installed package ‘virtualbox-2.1’

    What about???

    Gingalone

  13. Vladimir says:

    apt-get remove virtualbox-2.1

  14. Sagar says:

    I had installed Windows XP on virtualbox on Intrepid. The upgrade to Jaunty removed virtualbox but thankfully left the XP .vdi file as it is in my home directory. Now I installed the latest version of VirtualBox on Jaunty, but the windows XP on it doesn’t start .. says some hardware error ! Is there a way to upgrade the vdi file without losing the installation ?

  15. Aimar says:

    I cannot install it because of this:

    Compilation of the kernel module FAILED!
    VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the kernel module does not compile. Most probably the kernel sources were not found. Install them (the package name is probably linux-headers- whereby can be determined by ‘uname -r’) and execute

    /etc/init.d/vboxdrv setup

    as root.

    What shall I do?

  16. Dan says:

    Aimar,

    From the terminal try executing this:

    sudo apt-get install linux-headers-$(uname -r)

    Then try installing VirtualBox again. I ran into the same error installing into Ubuntu 9.04 and that worked for me.

  17. Aimar says:

    Dan,
    Thank you very much for replying, but I’ve done what you say and my computer doesn’t find it… I’m quite lost, but anyway I’ll try find the packages I need…
    Thanks!

  18. Insanity says:

    If you install from the repository, there IS a difference. The one on the repository is the OSE version. Meaning you can’t share usb devices across guest operating systems, which I can’t live without.

    So if you’d like to have this feature, then do it the other way. Don’t use the repositories.

    Also, I’m pretty certain that none of the versions will update their selves. You have to manually do it, which is a good thing. I wouldn’t want some new update screwing up all my stuff.

  19. jcalmighty says:

    Hi, running jaunty 9.04 host and win xp pro guest, but i cant get xp to load usb pen drives…
    thanks in advance

  20. conflict on upgrade says:

    quote:
    trying to upgrade from 2.1 to 2.2 I get the message:
    Error: Conflicts with the installed package ‘virtualbox-2.1?

    Vladimir said:
    apt-get remove virtualbox-2.1
    end quote

    Thank you, I was afraid to loose my Vbox configuration when unistalling Vbox 2.1 but I got the new version in the same configuration very smoothly.

    Gingalone

  21. Damien Sticklen says:

    If you want to be able to access usb devices etc, make sure you are in the virtualbox group in /etc/group. I have dkms and virtualbox guest additions installed as well as the account added to /etc/group under virtualbox, and now I can access mine

  22. jcalmighty says:

    Thanks that worked. Now i just cant get the xp guest to update or download software…..
    Thanks in advance

  23. drueter says:

    Instructions are great but should say that it is necessary to restart the system before Virtualbox will appear in Applications menu.

  24. admin says:

    If you don’t see virtualbox in application menu try to logout from that session and login back.

  25. Darg says:

    I cannot install it because of this:

    Compilation of the kernel module FAILED!
    VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the kernel module does not compile. Most probably the kernel sources were not found. Install them (the package name is probably linux-headers- whereby can be determined by ‘uname -r’) and execute

    /etc/init.d/vboxdrv setup

    as root.

    What shall I do?

    Your grub menu was likely not updated. To resolve this try the following

    sudo rm /boot/grub/menu.lst
    sudo update-grub
    reboot
    retry the install

  26. Hogg says:

    @Darg, thanks! That’s what I needed.

  27. AliBaba says:

    Found this thread only today, so my answer surely comes late …

    @Grace: question 2 – there is a way to do that, but it is not recommended. Nonetheless I’m living with my dual boot without problems since a year now!
    Use this as a starting point -> http://blarts.wordpress.com/2007/12/06/how-to-run-virtualbox-using-a-physical-partition-using-ubuntu-feisty-fawn/

    It’s a bit tricky to do, but if you are able to install a dual boot PC, then you can also do this.

    Enjoy!

  28. SoulSinner says:

    Err.. y my installation show me the 3.0 version..
    Am i wrong here??
    And im new to VBox, Can i use it on my originally installed xp OS???
    Can someone show me how?

  29. Carlos says:

    yo instale windowws en ubuntu y trabaja muy bien de los recomiendo gracias a todos y hasta pronto

  30. amar singh says:

    can i install virtualbox os in my phenom x3 processor which has triple core,two gb ram n is of 2.12 ghz

Leave a Reply

Your email address will not be published. Required fields are marked *