Virtualbox errors on Ubuntu/Debian/Mint

 

The solution was to reinstall the vbox dkms package and do a manual modprobe of the modules it makes.

I never sorted out the unable to start due to the USB issue, I did have the guest additions installed but the only way to boot was to change the pointing device from USB to PS2 and then to disable the USB controller (if your pointing device is set as USB, disabling USB will not work because it will re-enable by default when it sees your pointing device is USB, this is why you must set it to PS2 before disabling USB).

===========

Failed to open a session for the virtual machine XPCB.
The virtual machine 'XPCB' has terminated unexpectedly during startup with exit code 1.


Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

=========

sudo apt-get install virtualbox-dkms
[sudo] password for one:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  virtualbox-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 538 kB of archives.
After this operation, 4,321 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/multiverse virtualbox-dkms all 4.3.10-dfsg-1ubuntu5 [538 kB]
Fetched 538 kB in 1s (447 kB/s)         
Selecting previously unselected package virtualbox-dkms.
(Reading database ... 188970 files and directories currently installed.)
Preparing to unpack .../virtualbox-dkms_4.3.10-dfsg-1ubuntu5_all.deb ...
Unpacking virtualbox-dkms (4.3.10-dfsg-1ubuntu5) ...
Setting up virtualbox-dkms (4.3.10-dfsg-1ubuntu5) ...
Loading new virtualbox-4.3.10 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-38-generic
Building initial module for 3.16.0-38-generic
Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-38-generic/updates/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-38-generic/updates/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-38-generic/updates/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-38-generic/updates/

depmod.......

DKMS: install completed.

=========

sudo modprobe vboxdrv
one@Opteron2419:~$ sudo modprobe vboxnetadp
one@Opteron2419:~$ sudo modprobe vboxpci
one@Opteron2419:~$ sudo modprobe vboxnetflt
one@Opteron2419:~$ sudo modprobe vboxnetsf
modprobe: FATAL: Module vboxnetsf not found.
one@Opteron2419:~$ sudo modprobe vboxsf
modprobe: ERROR: could not insert 'vboxsf': No such device
one@Opteron2419:~$ sudo modprobe vboxsf
modprobe: ERROR: could not insert 'vboxsf': No such device
one@Opteron2419:~$ sudo modprobe vboxguest
modprobe: ERROR: could not insert 'vboxguest': No such device
one@Opteron2419:~$ sudo modprobe vboxvideo


===============

Failed to open a session for the virtual machine XPCB.
Implementation of the USB 2.0 controller not found!
Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings (VERR_NOT_FOUND).


Tags:

virtualbox, errors, ubuntu, debian, mint, reinstall, vbox, dkms, manual, modprobe, modules, sorted, unable, usb, additions, installed, ps, disable, controller, disabling, enable, default, virtual, xpcb, terminated, unexpectedly, startup, kernel, rc, linux, vboxdrv, dev, module, executing, etc, init, install, recompiles, sudo, apt, password, lists, dependency, packages, upgraded, newly, kb, archives, additional, disk, http, archive, trusty, updates, multiverse, dfsg, fetched, selecting, previously, unselected, database, directories, currently, preparing, unpack, dkms_, _all, deb, unpacking, loading, installation, kernels, generic, initial, sanity, installing, lib, vboxnetadp, ko, vboxnetflt, vboxpci, depmod, completed, opteron, vboxnetsf, fatal, vboxsf, insert, vboxguest, vboxvideo, implementation, vm, oracle, extension, settings, verr_not_found,

Latest Articles

  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)
  • CDN Cloudflare how to set and preserve the real IP of the client without modifying application code on Apache
  • CentOS 7 fix Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 -
  • Ubuntu Debian How To Install Recommended Packages Automatically
  • How to set Linux Ubuntu Redhat Debian Command Line http https socks proxy for yum apt
  • How to resize a pdf without losing much quality in Linux Mint Ubuntu Debian Redhat Solution
  • qemu: could not load PC BIOS 'bios-256k.bin' solution
  • Proxmox How To Custom Partition During Install
  • Hyper-V Linux VM Boots to Black Screen, Storage, NIC Not Found Issues
  • Ubuntu Mint How to Fix Missing/Broken /dev and /dev/pts which causes terminal to immediately close exit and not work
  • How high can a Xeon CPU get?
  • bash fix PATH environment variable "command not found" solution