Upgrade VirtualBox from 2.1.0 to 2.1.2 on Debian Lenny

There is a new release of VirtualBox 2.1.2 for Debian Lenny on today (Changelog for 2.1.2), and so my server need upgrade. Here is some tips for a smooth server upgrade procedure:

  1. Shutdown down all of your virtual clients. It is because the virtual client profile and client daemon are both required to upgrade. We will get it done after server upgrade.
  2. Run the following command for packages upgrade:
    aptitude update && aptitude full-upgrade && aptitude autoclean && aptitude clean

    It will prompt that VirtualBox's kernel module required for upgrade after installation. Press "yes" to delete the existing kernel module now.
  3. After install you will need to recompile your VirtualBox's kernel module by:
    /etc/init.d/vboxdrv setup

It is recommend to reboot your host after kernel module upgrade. Once upgrade completed, open the VirtualBox GUI and it will prompt you a message that all virtual client profiles need upgrade, simply let it handle for you.

For each virtual client you will also need to upgrade their "Guest Additions". Just follow the normal installation procedure for upgrade, and reboot your client after that :D


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <h1> <h2> <h3> <h4> <h5> <h6> <em> <strong> <code> <del> <blockquote> <q> <sub> <p> <br> <ul> <ol> <li> <dl> <dt> <dd> <a> <b> <u> <i> <sup> <acronym> <pre> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.