Released VirtualBox 5.1 with improved multimedia support, latest guest or host OS

VirtualBox is an open source cross-platform virtualization software for x86 architecture, Which was developed by Oracle. VirtualBox is an amazing software which have lot of features compare with other virtualization software such as VMware,etc.., and still development team hardly working on virtualbox to improve the stability. The latest version of VirtualBox 5.1 released on July 12, 2016 which is 1’st update for Virtualbox 5.1 series.

Note : Most of us heard, for upgrading virtualbox we need to remove/uninstall old one and install new one (If the version is different, like 4.0, 5.0 & 5.1) but we don’t know whether all the VM’s are got delete or it will be available. Don’t worry nothing will happen all the VM’s are safe only.

What’s New in VirtualBox 5.1

  • Improved Performance: Significantly improved performance for multi-CPU virtual machines and networking.
  • Bug Reporting Tool: New utility able to collect all the information and logs related to the host and guest operating system, for debug or analysis purposes.
  • Improved Logging Window: New logging functionalities to highlight and filter information related to guest Virtual Machines.
  • Improved multimedia availability: Improved support for different USB devices and multi-channel audio availability.
  • Flash storage emulation: New NVMHCI storage controller emulation available, able to emulate NVME devices – Flash storage – on guest Virtual Machine.
  • Improved Linux integration: Automatic modules deployment in case of a Linux Kernel upgrade and improved systemd integration for the latest releases of popular Linux distributions including: Mac OS X Yosemite, Windows 10, Oracle Linux, Oracle Solaris, other Linux operating systems, and legacy operating systems.

1) Stop VirtualBox kernel module

Stop the VirtualBox kernel module before proceeding uninstall virtualbox-5.0* otherwise, you will end with below error message (I got the error message).
Removing virtualbox-5.0 (5.0.24-108355~Ubuntu~xenial) …
dpkg: error processing package virtualbox-5.0 (–remove):
subprocess installed pre-removal script returned error exit status 1
A copy of VirtualBox is currently running. Please close it and try again.
Please note that it can take up to ten seconds for VirtualBox to finish running.
Errors were encountered while processing:
virtualbox-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)

[For SysVinit Systems]
# /etc/init.d/vboxdrv stop

[For systemd Systems]
# /sbin/rcvboxdrv stop

2) Install VirtualBox on Debian, Ubuntu & Mint

Follow the below steps to install/upgrade your virtualbox to latest version on Debian, Ubuntu & Mint Systems.

[Remove old version of VirtualBox]
$ sudo apt-get remove virtualbox-5.0*

[Add Virtualbox Repository]
$ sudo sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list"

[Import Oracle Public Key]
$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

[Install dependency packages]
$ sudo apt-get install dkms

[Update Repository Index]
$ sudo apt-get update

[Install VirtualBox]
$ sudo apt-get install virtualbox-5.1

[Launch Virtualbox]
$ VirtualBox

Prakash Subramanian

Prakash Subramanian is a Linux lover and has 3.5+ years of experience in linux server administration with major Linux distribution such as (RHEL, CentOS, Ubuntu). He is currently working as a Senior L2 Linux Server administrator.

You may also like...

  • @disqus_NuuLtlImfE:disqus @jakzov:disqus,
    I have clearly mentioned on point number 2, 2a & 2b. We need to uninstall old series before proceeding new series installation. We can directly do the upgrade without uninstall when we have same series, like (5.1 to 5.1.x). Hope this will clear your queries.

    • jakzov

      what we say is that it’s wrong information. It it NOT necessary to uninstall, say 5.0.x (tested myself)
      Hence, we (you) should reinvestigate that requirement for older version as well, 5.1.2 might very well have come to properly handle the upgrade process for those. The only source I have for my say is my own experiment (upgrade from 5.0.x to 5.1.2 without uninstall)
      as well as some confirmed advice on irc > freenode > #virtualbox channel.

      what are your sources ? (sources should always be mentioned)

      • @Jakzov,
        Wow, i didn’t tried till now. Will try with my test environment and update further.

  • Matt Cobb

    I hadn’t heard you need to uninstall the old. The mac installer didn’t tell me that either.

  • jakzov

    So, shall we uninstall or not prior to upgrade ? (most ppl hear) is not relevent for readers
    Also, you don’t mention what are those step for in the title… (could be useful.. who knows)

    • jakzov

      no need to. confirmed (5.026 to 5.1.2 win7 host)

  • Prasad D

    When I try to Install Virtualbox-5.0
    [[email protected] ~]$ sudo dnf install virtualbox-5.0
    Last metadata expiration check: 0:00:30 ago on Wed May 4 15:39:40 2016.
    No package virtualbox-5.0 available.
    Error: Unable to find a match.
    All the above other commands worked fine… Please suggest solution…

    • Prasad,
      Can you please cross check whether Virtaulbox fedora repo added @ /etc/yum.repos.d

      # dnf config-manager –add-repo=http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

      If so, run
      # dnf makecache

      then try it.

  • Alexander

    After to update to the latest version of VirtualBox (5.0.16). When I try to insert some USB device, I don’t see any USB device in menu Devices->USB

    • Alexander

      It’s OK now…I was checking into /etc/groups and I noticed that the group vboxusers was missing. I created again e relogin my user..now It’s OK.

  • Dunha

    Thank u for help :3

  • Nanette

    Help! After installing the upgrade, I get this error when opening my image:
    Failed to open a session for the virtual machine Win7.

    VD: error VERR_NOT_SUPPORTED opening image file ‘/Users/nan/VirtualBox VMs/Windows 7.vmdk’ (VERR_NOT_SUPPORTED).

    Failed to load unit ‘lsilogicscsi’ (VERR_SSM_LOADED_TOO_MUCH).

    Result Code: NS_ERROR_FAILURE (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    • @Nanette,
      Are you facing the problem when you open all the images or particularly Windows 7 client

    • Matt

      Same problem here.
      @Ramya: Only a particular VM, others look fine.

    • Matt

      Discarding the state fixed the problem!

      Good luck!

      • @Matt,
        Good to hear, can i have the fix details to know about it.

  • Guy

    I think that this command:

    /etc/init.d/vboxdrv setup

    is run implicitly as a result of the previous command in the ubuntu setup.

    • @Guy,
      This will used to Rebuild VirtualBox kernel modules which need to apply after installing virtualbox 4.2 series but this not mandatory for Virtualbox 5.0 series.

  • 2daygeek

    @mixerowsky,

    Use the below url to download the package and install manually.

    http://packages.ubuntu.com/lucid/i386/libqt3-mt/download

  • There is no libqt3-headers and libqt3-mt-dev packages for Ubuntu 14.04, what to do?

Shares
Close
Please support the site
By clicking any of these buttons you help our site to get better