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 Ubuntu Cannot Print Large Images
  • Cannot Print PDF Solution and Howto Resize
  • Linux Console Login Screen TTY Change Message
  • Apache Cannot Start Listening Already on 0.0.0.0
  • MySQL Bash Query to pipe input directly without using heredoc trick
  • CentOS 6 and 7 / RHEL Persistent DHCP Solution
  • Debian Ubuntu Mint rc-local service startup error solution rc-local.service: Failed at step EXEC spawning /etc/rc.local: Exec format error
  • MySQL Cheatsheet Guide and Tutorial
  • bash script kill whois or other command that is running for too long
  • Linux tftp listens on all interfaces and IPs by DEFAULT Security Risk Hole Solution
  • python import docx error
  • Cisco Unified Communications Manager Express Cheatsheet CUCME CME
  • Linux Ubuntu Debian Missing privilege separation directory: /var/run/sshd
  • bash how to count the number of columns or words in a line
  • bash if statement how to test program output without assigning to variable
  • RTNETLINK answers: Network is unreachable
  • Centos 7 how to save iptables rules like Centos 6
  • nfs tuning maximum amount of connections
  • qemu-kvm error "Could not initialize SDL(No available video device) - exiting"
  • Centos 7 tftpd will not work with selinux enabled