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

  • Linux named / bind how to dump, view and clear the cache!
  • Centos 6 / 7 / 8 How To Change Default nameservers in /etc/resolv.conf when using DHCP / dhclient
  • Adobe Acrobat Reader for Linux to use and view XFA Fillable Forms
  • Debian Linux Mint Ubuntu iptables save and restore settings automatically onboot and reboot
  • Why SMART is not smart at all and doesn't properly predict disk errors that cause a kernel panic or crash
  • scp: ambiguous target error and solution
  • VirtualBox How To Add iSCSI Storage using VBoxManage
  • iSCSI on Centos 7 Configuration and Setup Guide for Initiator and Target
  • Python and BeautifulSoup4's BS4's Decompose Method To Remove Unwanted Inner Tags
  • httpd AH00534: httpd: Configuration error: No MPM loaded. solution
  • bash script to remove modules from httpd.conf that are not actually installed
  • bash scripting how to create a function
  • Centos 7 PHP MySQL Not Working Solution
  • Bash How To Cut or Split Natively And Get The LAST Field
  • Bash Script How To Manipulate Text/Strings By Searchig and Replacing Natively
  • How Does Cisco CUCM (Cisco Unified Communication Manager) Work?
  • What DNS Options Does Active Directory Offer in Windows Server 2008,2012,2016 ?
  • syntax error, unexpected T_SL in PHP Solution
  • grep regular expression match number range between specific numbers
  • bash how to print out lines of text within a range from the first occurrence