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

  • How to install Windows or other OS and then bring to another computer by using a physical drive and Virtual Machine with QEMU
  • PXE-E23 Error BOOTx64.EFI GRUB booting is 0 bytes tftp pxe dhcp solution NBP filesize is 0 Bytes
  • vagrant install on Debian Mint Ubuntu Linux RHEL Quick Setup Guide Tutorial
  • RHEL 8 CentOS 8, Alma Linux 8, Rocky Linux 8 System Not Booting with RAID or on other servers/computers Solution for dracut and initramfs missing kernel modules
  • How to Upgrade to Debian 11 from Version 8,9,10
  • Ubuntu Linux Mint Debian Redhat Cannot View Files on Android iPhone USB File Transfer Not Working Solution
  • Virtualbox Best Networking Mode In Lab/Work Environment without using NAT Network or Bridged
  • debootstrap how to install Ubuntu, Mint, Debian install
  • Linux grub not using UUID for the root device instead it uses /dev/sda1 or other device name solution
  • How To Restore Partition Table on Running Linux Mint Ubuntu Debian Machine
  • Debian Ubuntu apt install stop daemon questions/accept the default action without prompting
  • iptables NAT how to enable PPTP in newer Debian/Ubuntu/Mint Kernels Linux
  • Grandstream Phone Vulnerability Security Issue Remote Backdoor Connection to 207.246.119.209:3478
  • Linux How to Check Which NIC is Onboard eth0 or eth1 Ubuntu Centos Debian Mint
  • VboxManage VirtualBox NAT Network Issues Managment Troubleshooting
  • Dell PowerEdge Server iDRAC Remote KVM/IP Default Username, Password Reset and Login Information Solution
  • Nvidia Tesla GPUs K40/K80/M40/P40/P100/V100 at home/desktop hacking, cooling, powering, cable solutions Tutorial AIO Solutions
  • Stop ls in Linux Debian Mint CentOS Ubuntu from applying quotes around filenames and directory names
  • Thunderbird Attachment Download Error Corrupt Wrong filesize of 29 or 27 bytes Solution
  • Generic IP Camera LAN Default IP Settings DVR