VirtualBox 2.1.4 -> 3.0.4 upgrade

Discussions related to using VirtualBox on Linux hosts.
Post Reply
globestern
Posts: 9
Joined: 12. Aug 2009, 11:20
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows Server 2008
Contact:

VirtualBox 2.1.4 -> 3.0.4 upgrade

Post 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
globestern
Posts: 9
Joined: 12. Aug 2009, 11:20
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows Server 2008
Contact:

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
globestern
Posts: 9
Joined: 12. Aug 2009, 11:20
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows Server 2008
Contact:

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Post by globestern »

it's a private server in a private network (at home).. so no problem ;)
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: VirtualBox 2.1.4 -> 3.0.4 upgrade

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply