Recommended VirtualBox Version for use with Whonix ™

From Whonix
Jump to navigation Jump to search

Recommendedvboxversion1231231234.png

Recommended VirtualBox Version[edit]

It is strongly advised to use the recommended VirtualBox version with Whonix ™, otherwise there can be issues. [1]

Info Recommended VirtualBox version.

Logo-linux.png Linux instructions and further install directions

  • Use the recommended VirtualBox version : latest (click for more information)
  • For Windows and Mac: Just download and install.
  • For Linux follow instructions below:

info Recommendations for Linux users:

  • The recommended host Linux kernel version is the same version that Debian bullseye is using, see linux-image-amd64.
  • Linux users only: use the recommended Linux distribution as a host for Whonix ™ VirtualBox is Debian Linux version bullseye.

Hosts using a non-Debian OS: Logo-linux-500x500.png

Install VirtualBox as per the normal mechanism for your Linux distribution. Whonix ™ has has been tested with, expects VirtualBox version latest

For example VirtualBox version 5.2.18 has been reported to not be compatible.

Ubuntu hosts: Logo-ubuntusvg.png

Ubuntu bionic (18.04LTS) APT repository ships only VirtualBox version 5.2.18 and Whonix ™ will probably not work.

You might want to release-upgrade to Ubuntu hirsute (21.04) and install the virtualbox package from the hirsute-updates backports repository which provides at time of writing VirtualBox version 6.1.26.

Debian hosts: Logo-debian-500x500.png

Notes:

  • These instructions are for host operating systems running Debian bullseye, which is recommended.
  • Other Debian releases might work, but this is untested.
  • To acquire the Recommended VirtualBox version tested with Whonix ™, package virtualbox should be installed from Debian fasttrack repository according to the following instructions. [2]

1. On the host.

Open a terminal.

2. Add Debian the fasttrack repository.

Update the package lists.

sudo apt update

Install the Debian fasttrack signing key.

sudo apt install fasttrack-archive-keyring

Add the Debian fasttrack repository.

echo 'deb https://fasttrack.debian.net/debian/ bullseye-fasttrack main contrib non-free' | sudo tee /etc/apt/sources.list.d/fasttrack.list

3. Update the package lists again. [3]

sudo apt update

4. Install VirtualBox and Linux kernel headers.

sudo apt install virtualbox linux-headers-$(dpkg --print-architecture)

5. Add your current user to group vboxusers. [4]

sudo adduser $(whoami) vboxusers

6. Done.

The procedure of installing the VirtualBox host software is complete.

Latest VirtualBox Version[edit]

The latest version of VirtualBox can be seen on virtualbox.org/wiki/Downloads, virtualbox.org/wiki/News and VirtualBox announcements newsletter archive.

Alternatively the version number can be seen on the VirtualBox Wikipedia page, although there might be times when Wikipedia is outdated.

The user could also consider to subscribe to the VirtualBox announcements newsletter.

See Also[edit]

Footnotes[edit]

Novice or intermediate users can generally ignore footnotes (like 1) unless experiencing difficulties or having questions. See also introduction chapter Whonix ™ Footnotes and References.

  1. Whonix ™ 16.0.4.2 was built and tested with VirtualBox version latest. Newer VirtualBox versions not listed on the stable version of Whonix ™ for VirtuallBox, testers-only version of Whonix ™ for VirtuallBox or otherwise in Whonix ™ News are untested by Whonix ™ developers. This can cause issues such as instability (VirtualBox VMs not starting, VMs suddenly closing, host freezing, VM black screen). It is advised to wait until newer versions of VirtualBox are recommended for use with Whonix ™.

    Newer VirtualBox versions are hard to install on Debian bullseye. Perhaps the VirtualBox host software is available (even as a Debian package) from the virtualbox.org repository, but VirtualBox guest additions are not available as a Debian package. Using an older version of VirtualBox guest additions (like the pre-installed ones) might lead to broken functionality such as an inability to resize the VM or general instability. Installation of VirtualBox guest additions from ISO might also cause issues.

    References:
  2. This is non-ideal but required since VirtualBox in unavailable in official Debian bullseye repository and difficult to install due to VirtualBox Installation Challenges. Alternatively you could install VirtualBox from the Oracle (virtualbox.org) Repository, but this comes with different risks. VirtualBox might be updated by VirtualBox developers before being tested with Whonix ™ which could then lead to issues. (Described in footnote here.)
  3. This is to acquire the Debian fasttrack repository package sources.
  4. Optional: See: https://www.virtualbox.org/manual/ch02.html#install-linux-vboxusers Also spams ~/.config/VirtualBox/VBoxSVC.log log if not done.