How to install Virtualbox 2.2.0 in Ubuntu 9.04 (Jaunty)
Sponsored Link
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
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.
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).
@Simon:
Nop.
No each time you have to uninstall and reinstall new package
@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
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
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
@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).
@Najjar
Thanks for your reply i have updated the article
@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
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?
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
apt-get remove virtualbox-2.1
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 ?
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?
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.
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!
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.
Hi, running jaunty 9.04 host and win xp pro guest, but i cant get xp to load usb pen drives…
thanks in advance
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
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
Thanks that worked. Now i just cant get the xp guest to update or download software…..
Thanks in advance
Instructions are great but should say that it is necessary to restart the system before Virtualbox will appear in Applications menu.
If you don’t see virtualbox in application menu try to logout from that session and login back.
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
@Darg, thanks! That’s what I needed.
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!
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?
yo instale windowws en ubuntu y trabaja muy bien de los recomiendo gracias a todos y hasta pronto
can i install virtualbox os in my phenom x3 processor which has triple core,two gb ram n is of 2.12 ghz