Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Installation of virtual box on ubuntu 16.04

$
0
0
Setting up virtualbox for Unbuntu 16.04
Site for installation instructions:
https://www.virtualbox.org/wiki/Linux_Downloads
Installation instructions for Debian-based Linux distributions

Followed in order:
Code:

sudo nano /etc/apt/sources.list:
Inserted the line
Ctrl+O to save Ctrl+X to quit
Following lines in order
Code:

wget -q https://www.virtualbox.org/download/..._vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-5.1
sudo apt-get install dkms

The virtual package is ‘hadoop’ which was downloaded. When trying to run from VB, the following errors occurred
Code:

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  '/sbin/vboxconfig'  as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
 sudo /sbin/vboxconfig
       
        vboxdrv.sh: Stopping VirtualBox services.
        vboxdrv.sh: Building VirtualBox kernel modules.
        vboxdrv.sh: Starting VirtualBox services.
        vboxdrv.sh: Building VirtualBox kernel modules.
        vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

        There were problems setting up VirtualBox.  To re-start the set-up process, run
          /sbin/vboxconfig
        as root.

I’ve seen this problem in several older posts but not with any satisfactory solution – any ideas as to what is going on, it seems to be something to do with the Kernel, although I’m not sure exactly what the error message actual means?

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>