- I have VMs created for VirtualBox (.vbox and .vmdk) under Linux or Windows, many VMs and many OSs, created along the years, these VMs are some sort of "time capsules" for personal projects, with full GUI and many settings inside, they are not headless servers that can be migrated to other forms of isolation.
- this year I've changed my desktop OS from Linux to FreeBSD, so now I need to run those old VMs in FreeBSD
- the guest VMs I already have must handle USB2.0 devices, USB 1.0 or USB 1.1 speed is not enough
Couldn't find any way to run former VirtualBox guests with USB2.0 support for them. They run, but with USB1.1 at most.
What I've done so far:
1). Installed and configured VirtualBox, pkg installed virtualbox-ose and virtualbox-ose-additions (6.1.30), then did all the required setting steps. After this, former vbox machines can run, but only with USB1.1 support. With USB2.0 vbox guests can not be started in FreeBSD.
2). Searched for the cause and found out there is another component that has to be installed inside the VirtualBox host (not to be confused with the VBoxGuestAddition which is to install inside the guest VMs). This component for the host is called Oracle VM Extension Pack, and it's a file of type .vbox-extpack (i.e. Oracle_VM_VirtualBox_Extension_Pack-4.3.16-95972.vbox-extpack)
This extension pack can not be installed in a FreeBSD host, the error message is saying it couldn't find "PUEL", which PUEL is some component written by Oracle and does not work in FreeBSD. This component only works for Windows, Linux, Mac or Solaris.
3). Following existing bug reports filed to Oracle for this extension pack and/or PUEL, I've found in a mailing list that there are no plans from Oracle to provide a "PUEL" component for FreeBSD hosts.
4). Read the handbook Chapter 22. - Virtualisation where I couldn't find any workaround for USB2.0, in fact, as a newcomer I found very confusing that the handbook first say it has USB2.0, but VirtualBox for FreeBSD doesn't support USB2.0
I found that paragraph very misleading, and understood quite contrary at first read, I've understood that USB2.0 would be supported.
Some 1-2 pages later it is stated that USB2.0/3.0 is not available for VirtualBox in FreeBSD, you can say RTFM, but nobody reads manuals in full when first paragraph let one to believe something is supported.
5). Read in the handbook about jails, if I got it right jails are similar with chroots, they are not for virtualisation, as I hoped.
6). Read in the handbook about bhyve and FreeBSD as Xen host, but it was not clear to me if any of these will run vbox machines with USB2.0 support.
I am running FreeBSD bsd 13.0-RELEASE-p4
---------------------------------------
TL;DR
How do I run vbox VMs with FreeBSD as host and USB2.0 support?
VirtualBox-OSE does not have USB2.0 support, so any other ideas or workarounds are welcome.
- this year I've changed my desktop OS from Linux to FreeBSD, so now I need to run those old VMs in FreeBSD
- the guest VMs I already have must handle USB2.0 devices, USB 1.0 or USB 1.1 speed is not enough
Couldn't find any way to run former VirtualBox guests with USB2.0 support for them. They run, but with USB1.1 at most.
What I've done so far:
1). Installed and configured VirtualBox, pkg installed virtualbox-ose and virtualbox-ose-additions (6.1.30), then did all the required setting steps. After this, former vbox machines can run, but only with USB1.1 support. With USB2.0 vbox guests can not be started in FreeBSD.
2). Searched for the cause and found out there is another component that has to be installed inside the VirtualBox host (not to be confused with the VBoxGuestAddition which is to install inside the guest VMs). This component for the host is called Oracle VM Extension Pack, and it's a file of type .vbox-extpack (i.e. Oracle_VM_VirtualBox_Extension_Pack-4.3.16-95972.vbox-extpack)
This extension pack can not be installed in a FreeBSD host, the error message is saying it couldn't find "PUEL", which PUEL is some component written by Oracle and does not work in FreeBSD. This component only works for Windows, Linux, Mac or Solaris.
3). Following existing bug reports filed to Oracle for this extension pack and/or PUEL, I've found in a mailing list that there are no plans from Oracle to provide a "PUEL" component for FreeBSD hosts.
4). Read the handbook Chapter 22. - Virtualisation where I couldn't find any workaround for USB2.0, in fact, as a newcomer I found very confusing that the handbook first say it has USB2.0, but VirtualBox for FreeBSD doesn't support USB2.0
The underline text is logically disjointed, and only makes sense for those already familiar with the state of facts. First it's talking about "components" and states that includes USB2.0, then a link to an Oracle wiki page, then says "extensions" not available.VirtualBox™ is an actively developed, complete virtualization package, that is available for most operating systems including Windows®, macOS®, Linux® and FreeBSD. It is equally capable of running Windows® or UNIX®-like guests. It is released as open source software, but with closed-source components available in a separate extension pack. These components include support for USB 2.0 devices. More information may be found on the Downloads page of the VirtualBox™ wiki. Currently, these extensions are not available for FreeBSD.
I found that paragraph very misleading, and understood quite contrary at first read, I've understood that USB2.0 would be supported.
Some 1-2 pages later it is stated that USB2.0/3.0 is not available for VirtualBox in FreeBSD, you can say RTFM, but nobody reads manuals in full when first paragraph let one to believe something is supported.
5). Read in the handbook about jails, if I got it right jails are similar with chroots, they are not for virtualisation, as I hoped.
6). Read in the handbook about bhyve and FreeBSD as Xen host, but it was not clear to me if any of these will run vbox machines with USB2.0 support.
I am running FreeBSD bsd 13.0-RELEASE-p4
---------------------------------------
TL;DR
How do I run vbox VMs with FreeBSD as host and USB2.0 support?
VirtualBox-OSE does not have USB2.0 support, so any other ideas or workarounds are welcome.