Virtualbox extension pack usb linux

Download VirtualBox

Here you will find links to VirtualBox binaries and its source code.

VirtualBox binaries

By downloading, you agree to the terms and conditions of the respective license.

If you’re looking for the latest VirtualBox 6.0 packages, see VirtualBox 6.0 builds. Please also use version 6.0 if you need to run VMs with software virtualization, as this has been discontinued in 6.1. Version 6.0 will remain supported until July 2020.

If you’re looking for the latest VirtualBox 5.2 packages, see VirtualBox 5.2 builds. Please also use version 5.2 if you still need support for 32-bit hosts, as this has been discontinued in 6.0. Version 5.2 will remain supported until July 2020.

VirtualBox 6.1.26 platform packages

  • Windows hosts
  • OS X hosts
  • Linux distributions
  • Solaris hosts
  • Solaris 11 IPS hosts

The binaries are released under the terms of the GPL version 2.

See the changelog for what has changed.

You might want to compare the checksums to verify the integrity of downloaded packages. The SHA256 checksums should be favored as the MD5 algorithm must be treated as insecure!

  • SHA256 checksums, MD5 checksums

Note: After upgrading VirtualBox it is recommended to upgrade the guest additions as well.

VirtualBox 6.1.26 Oracle VM VirtualBox Extension Pack

  • All supported platforms

Support for USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack. The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL). Please install the same version extension pack as your installed version of VirtualBox.

VirtualBox 6.1.26 Software Developer Kit (SDK)

User Manual

The VirtualBox User Manual is included in the VirtualBox packages above. If, however, you would like to take a look at it without having to install the whole thing, you also access it here:

You may also like to take a look at our frequently asked questions list.

VirtualBox older builds

The binaries in this section for VirtualBox before version 4.0 are all released under the VirtualBox Personal Use and Evaluation License (PUEL). As of VirtualBox 4.0, the Extension Pack is released under the VirtualBox Personal Use and Evaluation License and the other packages are released under the terms of the GPL version 2. By downloading, you agree to the terms and conditions of the respective license.

VirtualBox Sources

The VirtualBox sources are available free of charge under the terms and conditions of the GNU General Public License, Version 2. By downloading from the below links, you agree to these terms and conditions.

  • Browse the source code repository
    This is the current development code, which is not necessarily stable.
  • View the latest source code changes
  • Download the VirtualBox OSE about logo in higher resolutions: 1024×768, 1600×1200.
  • Checking out from our Subversion server. This is the current development code, which is not necessarily stable.

After getting the sources in one of the ways listed above, you should have a look at the build instructions.

Please also take a look at our licensing FAQ, in particular regarding the use of the name VirtualBox.

Pre-built VirtualBox VMs

There are some pre-built VMs designed for developers and the curious over on the Oracle Tech Network site.

Источник

How to Enable USB in VirtualBox

If your data center depends on VirtualBox and your virtual machines depend on the USB device, you’ve perhaps noticed that USB doesn’t support by default unless you’ve manually enabled it.

In this article, we will explain to you how to enable USB support on Virtualbox. The current version of VirtualBox 6.0 comes with support for USB 3.0, and to take advantage of it, you need to install the latest version of VirtualBox Extension Pack.

Читайте также:  Windows 10 отключить тени шрифтов

This tutorial presumes that you already installed VirtualBox on your Linux and VirtualBox guest additions on your virtual machines. If you haven’t, you can install it using the following articles.

How to Install the VirtualBox Extension Pack

To install the latest version of Extension Pack, head over to the Virtualbox Downloads page and grab the file for All supported platforms.

1. Once you’ve downloaded, open up VirtualBox –> Click File –> Preferences in the Menu.

VirtualBox Preferences

2. Next, click on the Extension tab and then click the + sign.

Virtualbox Extension

3. Select the downloaded Extension Pack and install it as shown.

Install Virtualbox Extension Pack

4. Scroll through the Virtualbox License and then click I Agree button to install it.

Virtualbox License Agreement

5. Enter your sudo password and allow the installation to finish.

Installing Virtualbox Extension Pack Installed Virtualbox Extension Pack

Enabling USB Access to User

To allow a user to access the USB subsystem, you need to add the user (running VirtualBox) to the vboxusers group using the following command.

Where USERNAME is the name of the user running the VirtualBox.

Add User to vboxusers Group

Once the command runs successfully, logout and log back into the system.

Enabling USB Support in VirtualBox

Start up VirtualBox, right-click on the virtual machine that needs access to a USB device, and click Settings.

VirtualBox VM Settings

In the virtual machine’s Setting tab, click on USB to see the available USB devices. Click on the + sign to add a new device.

Enable USB Support in VM

Once USB device added, start up the virtual machine to have access to the data on the USB device. If you want to enable more USB devices, go back into the Settings –> USB and add the devices.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.

Источник

How to Access USB from VirtualBox Guest OS

There are times when you need to access USB from VirtualBox. For instance, you installed Kali Linux in VirtualBox and a USB wireless network adapter is required to do penetration testing. This simple tutorial will show you how to easily access your USB thumb drive, USB hard disk, or USB wireless network adapter in your Virtualbox guest OS.

It’s assumed that you have already set up VirtualBox on your host OS.

Step 1: Install Virtualbox Extension Pack

Shut down your guest OS.

VirtualBox by default only supports USB 1.x devices. VirtualBox extension pack includes support for USB 2.0 and USB 3.0 devices, VirtualBox RDP and PXE boot for Intel cards. You must install the extension pack with the same version as your installed version of VirtualBox.

To check the version of your VirtualBox, open VirtualBox manager, then go to Help > About VirtualBox . Once you know the version number, go to http://download.virtualbox.org/virtualbox/ in your web browser to download VirtualBox extension pack which ends with .vbox-extpack extension.

Once downloaded, in VirtualBox manager go to File > Preferences > Extensions. Click the add button to add VirtualBox extensions pack from your hard disk.

Once you choose the extension pack, click Install button to install it. You can see what functionalities it adds to your virtual machine in the description.

Then click Agree to accept VirtualBox license.

So now Virtualbox USB support is enhanced.

Step 2: Add Your User to vboxusers Group

In order for VirtualBox to see your USB devices, your user must be in the vboxusers group. Open up a terminal window (Ctrl+Alt+T), then run this command. Replace your-username with your real username. (I assume your host OS is a Linux distro such as Ubuntu, instead of Windows).

Now log out and log back in so the changes can take effect. To check which groups your user account belongs to, run:

Читайте также:  Обновить java до последней версии mac os

Step 3: Enable USB Controller and Add New USB filter

Click settings for your virtual machine.

Select USB on the left pane. Then choose USB 2.0 controller or USB 3.0 controller. Note that you can only enable one type of controller. Next, insert your USB device to your host machine and click the add button to add new USB filter.

Choose your USB device and Click OK.

Step 4: Access USB from VirtualBox

Now boot up your virtual machine and you will see your USB device in the guest OS. It should be noted that your host OS won’t be able to see the USB device while it’s being used by VirtualBox.

To unmount USB device from guest OS, select devices > USB and uncheck your USB device.

To mount USB in VirtualBox again, simply select your USB drive in the list.

How to Boot VM From USB Stick

Let’s say you created a bootable USB stick and you want to boot your VirtualBox VM from the USB stick. Virtualbox allows your VM to access raw hard disk, by creating a special VMDK image. I assume your host OS is Linux.

First, find the device name of your USB stick.

Mine is /dev/sdb . Then run the following command to create a VMDK image file /tmp/usb.vmdk .

Change the ownership of this file. Replace username with your real username.

Then add your user account to the disk group, so you can access raw hard disk.

Log out and log back in for the changes to take effect. Then open Virtualbox and attach the raw disk ( /tmp/usb.vmdk ) to your VM.

Wrapping Up

Does this post helped you access USB drive in VirtualBox guest OS? Let me know in the comments section below. As always, if you found this post useful, subscribe to our free newsletter or follow us on Google+, Twitter or like our Facebook page.

Источник

Install VirtualBox Extension Pack

Functionalities such as USB 2.0 and 3.0 support, full disk encryption for your virtual disk images and even physical disk passthrough are available within this pack. A few extra functionalities include NVMe support, Remote Desktop and PXE boot for Intel chips.

Installation

To get your copy of the extension pack, visit the official VirtualBox site and scroll down to the Oracle section and download the extension pack for your running version of VirtualBox. Click on “All supported platforms” to get this file.

The file is about 20 MB in size and has the extension .vbox-extpack which is the same exact file for any host operating system be it Windows, Linux or macOS.

Once the file is downloaded, open up your VirtualBox manager, from the top menu select File → Preferences (Top-left corner) and a new VirtualBox Preferences window will pop up.

In this Window, select the Extensions option from the left-side menu.

Use the icon on the right side which has a plus sign on it, to open File explorer and locate the Extension pack that we downloaded earlier, in your filesystem. Most likely, it is in your Downloads folder. Upon selecting and clicking OK, you will be informed that some of the system level software can harm your computer if they are untrusted.

Since we obtained our extension pack from the official website, it is quite safe to install it. Click install and then Agree to the terms and services if you would like to use the extension pack.

You will then be prompted for your root or sudo password (for Linux users) and Windows users will be greeted by a familiar UAC prompt. In either case, give VirtualBox the permission to install the necessary packages.

Once the extension pack is installed, your Preferences → Extension window will show something like this.

Testing out New Features

Let’s start using a few of the features that we now have at our disposal.

1. Full Disk Encryption

First and foremost would be full disk encryption. This is one of the best ways to ensure that your data inside the VM stays safe from the host.

There are cases where you may not trust the host operating system with your data or privacy, for example, if you are using a company laptop or some obscure OS with un-audited source code. Having your personal data inside a VM doesn’t help very much, unless you have the entire disk encrypted, in which case, the host has fewer ways of getting that information.

Читайте также:  Lga1155 драйвера windows 10

To enable disk encryption select your virtual machine from the VirtualBox manager, right click and go to its settings. In the General settings you would notice that the Disk Encryption option is available. Enable it and select any of the cipher that you prefer and then set your password. Once that is done, click OK and it will encrypt the entire .vdi (virtual disk image) file where your OS resides. You can do this while creating a new VM or for your pre-existing VMs as well.

Depending on the actual size of the virtual disk it might take some time. Now everytime you boot your VM, you will be asked for a passphrase:

If you are already using full disk encryption from inside the VM, then this might not be necessary. But, of course, encrypting your disks in this way secures it against vulnerabilities in guest operating system as well.

2. USB 2.0 devices

If you have some data on a USB device and you want to transfer it to your VM, you would typically do that by copying the data to the host machine and then copy the data from there to the guest machine. You may also try using a shared folder to speed up the process, but there will be copying of data involved.

Wouldn’t it be nice if you can just plug your USB device directly into your VM? Well this can be easily achieved once your extension packs are installed. Just go to your VM’s settings as before, and select USB menu from the sidebar.

Settings → USB

Select the kind of controller that your hardware offers. It can be USB 2.0 or USB 3.0. USB ports are backwards compatible so if you select 3.0 and use a 2.0 device that would still work.

You need not select any USB filtering for now, if you are just experimenting, but I urge you to explore further into it.Things can turn ugly if you select the wrong USB device. For example if your USB mouse is selected to be passed through to the VM, then your host machine, your main computer, has no mouse connected to it!

So for now, we shall leave the filtering part untouched and boot our VM, And once again use the Device option from the menu, go to USB option and select the USB device fitting the description of, say, our flash drive, as shown below.

Once you select that, you will notice that a new media is mounted inside the guest operating system which contains all the data held by your flash device.

Once again, your host operating system will have no idea about the existence of this flash device plugged into its hardware. Your VM would have taken control of the USB interface completely.

Removing Extension Pack

To ensure that removing the extension pack doesn’t break any of your VM, make sure that none of the feature like disk encryption or USB passthrough are actively being used.

With USB devices it is a simple matter of powering down all your VMs and none would use any physical interface avaible to them. With disk encryption, however, it is recommended that you go back to the Settings → General → Disk Encryption and uncheck the Enable Disk Encryption option. This is because your data is encrypted even at rest (on your hard disk) and if you remove the extension pack you have no way of decrypting it unless you reinstall the pack.

Once you are sure that none of the extension features are actively in use, you can go to VirtualBox Manger’s File → Preferences –> Extension.

Then click on the red icon on the right-column and you are back to the vanilla VirtualBox environment.

Hope you found this article on VirtualBox extension pack helpful, informative and fun! Please let us know if there’s any Linux related topic that you might want us to cover. You can reach us on Twitter, Facebook or subscribe to us via email.

About the author

Ranvir Singh

I am a tech and science writer with quite a diverse range of interests. A strong believer of the Unix philosophy. Few of the things I am passionate about include system administration, computer hardware and physics.

Источник

Оцените статью