Page 1 of 1

VirtualBox 2.1.4 -> 3.0.4 upgrade

Posted: 13. Aug 2009, 08:06
by globestern
hi

I like to update my 2.1.4 version to 3.0.4..

Code: Select all

dpkg -l |grep virtual
ii  virtualbox-2.1                       2.1.4-42893_Debian_lenny      Sun xVM VirtualBox
the virtualbox repo is added @ sources-list

virtualbox-2.0 - Sun xVM VirtualBox
virtualbox-2.1 - Sun xVM VirtualBox
virtualbox-2.2 - Sun VirtualBox
virtualbox-3.0 - Sun VirtualBox

apt-get upgrade does nothing.. so if I use: apt-get install virtualbox-2.2 it will uninstall virtualbox-2.1 and install virtualbox-2.2 -> if I use this commands, do you think I can still use my existent vm?

can I also upgrade directly from 2.1 to 3.0.4?

regards

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Posted: 13. Aug 2009, 09:34
by globestern
I found a easy solution:

backup your machines:

cp -R /root/.VirtualBox /root/.VirtualBoxBackup

then apt-get install NewVersion

/etc/init.d/vboxdrv setup

and it works greats!

btw. the cpu performance difference is incredible:

truecrypt AES benchmark test 2.1.4: 110MB/s
truecrypt AES benchmark test 3.0.4: 230MB/s

thank you!
regards

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Posted: 13. Aug 2009, 20:12
by Sasquatch
Please, don't tell me you run your Linux by logging in as root by default :shock:. If you do, it's a very big security risk and you might as well run Windows.

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Posted: 14. Aug 2009, 09:09
by globestern
it's a private server in a private network (at home).. so no problem ;)

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Posted: 14. Aug 2009, 11:06
by TerryE
He might have done sudo -i :lol: Even I do that sometimes when I am doing a lot of su work typing sudo ... is OK for the odd command, but if you are installing and configuring, then having to remember to type it every alternative line is a pain.

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Posted: 15. Aug 2009, 16:16
by Sasquatch
Yes, that's fine, I su too sometimes, but from what I saw, he was actually RUNNING the VMs as root. Very, very bad practice. It doesn't matter if it's a private machine at home, you should not matter what run as root by default.