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 ln symlink how to update existing symbolic link
  • Ubuntu 18.04 / Linux Mint 19.1 Cannot Type or Login - solution
  • LUKS Hard Drive Encryption on Linux Mint Ubuntu Debian etc how to mount encrypted hard drive
  • How to use nmap locate other machines/computers/servers on your network using nmap
  • Linux Mint 18.2 Create Config File To Start Application Upon Login
  • Dell Wyse Thin Client BIOS Access Key
  • sudoers file in /etc warning about comments/includes!
  • Centos 7 Reallocate logical volume space to another
  • lvm how to reduce volume size
  • letsencrypt certbot error "Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80."
  • SSH error cannot Forward or Listen "bind: Cannot assign requested address"
  • X11 SSH Linux Forwarding Error
  • Using Microsoft's Group Policy Management Editor (GPME) To Change Default Permissions and Internet Explorer Security Settings
  • Thunderbird How To Disable An Email Account
  • iptables linux firewall recommended rules for public computing
  • LVM How To Create Pool (dynamically allocated and not fully allocated)
  • VMWare Pro Workstation Nic Disconnected and No IP Using NAT
  • Linux How To Create A RamDisk
  • mdadm force resync when resync=PENDING solution
  • Proxmox Breaks Storage/LVM Backing If Killing QEMU-IMG