I'm on Ubuntu 16.04, tring to use Virtualbox version 5.0_5.0.20  When I try to open a Virtual Machine, Virtualbox warn me that :  WARNING: The vboxdrv kernel module is not loaded. Either there is no module          available for the current kernel (4.4.0-22-generic) or it failed to          load. Please recompile the kernel module and install it by             sudo /sbin/rcvboxdrv setup           You will not be able to start VMs until this problem is fixed.   So I run the command sudo /sbin/rcvboxdrv setup as asked, but I meet the error   Stopping VirtualBox kernel modules ...done. Uninstalling old VirtualBox DKMS kernel modules ...done. Trying to register the VirtualBox kernel modules using DKMS ...done. Starting VirtualBox kernel modules ...failed!   (modprobe vboxdrv failed. Please use 'dmesg' to find out why)   And I'm blocked ... I don't know how to fix it to run my VM.. Any Idea ?
120931
So, I tried creating an OS with VirtualBox, and I got this error:  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.   So I did the obvious, running the Vboxdrv setup. I ran this command:  sudo service vboxdrv setup   I got an error while doing so.:  stopping kernel drivers...done.  Uninstalling old virtualbox dkms kernel modules/etc/init.d/voboxdrv: 302: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found ...done. (Failed, trying without DKMS) recompiling VirtualBox kernel modules...failed! (look at /var/log/vbox-install.log to find out what went wrong.)   So, I took a look at /var/log/vbox-install.log to see if I can find anything. I got this error:  /etc/init.d/vboxdrv: 334: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/build_in_tmp: not found   Any help? Thanks.
120622
I received the updates through normal Software Updater, 10-Jan-2018. After this VirtualBox would not start any VM, complaining about dkms and asking to make modprobe vboxdrv. Following the advice I reinstalled virtualbox-dkms with:  sudo apt-get --reinstall install virtualbox-dkms   After this and a reboot I tried to start a VM which freezed the whole machine and a hard reboot was necessary.  Is there a way to make VirtualBox work with the latest kernels?  EDIT:  As suggested by N0rbert, the command:  apt-cache policy `dpkg -S VirtualBox | head -n1 | sed -e 's/://g' | awk '{print $1}'`  gives:   virtualbox-qt:   Installed: 5.0.40-dfsg-0ubuntu1.16.04.2   Candidate: 5.0.40-dfsg-0ubuntu1.16.04.2   Version table:  *** 5.0.40-dfsg-0ubuntu1.16.04.2 500         500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages         100 /var/lib/dpkg/status      5.0.18-dfsg-2build1 500         500 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages   EDIT (on 29-Mar-2018): Issue is resolved for me, with the Ubuntu Ubdate from today. I have seen that it had some virtualbox-updates, therefore I tried to boot with the most recent kernel again. Then I had to run  sudo apt-get --reinstall install virtualbox-dkms  And after this my virtual machines in VirtualBox started working without crashing the whole computer. Finally!
92955
Version: VLC media player 3.0.1 Vetinari (revision 3.0.1-0-gec0f700fcc) Ubuntu 18.04   Error:  cannot load module `/usr/lib/x86_64-linux-gnu/vlc/plugins/gui/libqt_plugin.so' (libQt5Svg.so.5: cannot open shared object file: No such file or directory)   How I got there:   Installed vlc: sudo apt install vlc Installed qt5 (downloaded from the site, followed through the steps, and added to path. Followed the answer at .   Here's my entire trace when I do vlc -vvv:
36493
I have already dual systems : Windows 7 and Ubuntu installed on my laptop. The Windows 7 had been installed when I bought this laptop, and I don't have a CD.  I just installed VitrualBox under Ubuntu, hoping that I could install another Windows in this virtual machine, so that I could run some applications of Windows even under Ubuntu.  But it seems that I need a CD or ISO of Windows to boot inside this virtual machine. Otherwise, there is an error: FATAL: No bootable medium found! System halted. My question is where I could find a CD or ISO?  At the moment, I am downloading ISO from this , but do not know if it will work. By the way, I am not sure if I should pick the 32-bit or 64-bit? As my CPU is 64-bit but my Ubuntu is i386.  Could anyone help? Thank you very much.
1850
I use VirtualBox 4.1.x on my Ubuntu machine and I’ve set up several virtual machines. Since there are several ways one can move a virtual machine in VirtualBox to another computer, I was wondering which one is the recommended way:   Use the “Import/Export utility.” Copy the entire virtual machine folder, containing the .vdi and .vbox files. Clone the VDI using “Virtual Media Manager” and then recreate a VM on the target machine but using the cloned VDI as the hard disk.   I have successfully used the 1st method several times and it has always worked. The problem is that after exporting and importing, the disk image is transformed into VMDK and not VDI anymore!  The 2nd method is probably the easiest but I’m not sure that simply copying the files will work or not on the target machine. When searching about this method, I found some people had problems in which they had to edit the VirtualBox.xml file to solve it!  At last, there’s the 3rd method, but it requires the extra work of creating a VM similar to the original VM configuration, which is not desirable.  It’s clear from the above explanation that my desired method is the 2nd one, but I need expert advice on this if it works or not. I don't want any XML editing getting in my way!  What’s the best method of safely transferring my VM’s to another computer with VirtualBox?
64722
The file will be downloaded into /usr/share/virtualbox-ext-pack Hash mismatch Oracle_VM_VirtualBox_Extension_Pack-5.0.24.vbox-extpack dpkg: error processing package virtualbox-ext-pack (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  virtualbox-ext-pack E: Sub-process /usr/bin/dpkg returned an error code (1)   Is there a workaround for this?
26137
I had installed VirtualBox but it started giving me problems. So I uninstalled it using:-  sudo apt-get remove virtualbox-\* sudo apt-get purge virtualbox-\*   But when I reinstalled VirtualBox it again resumed to previous settings and started giving same problems. How can i completely remove VirtualBox from my laptop and then reinstall it such that it wont give same problem again?
47700
Since making the full time move to using Linux (Fedora) from Windows, I've found the migration fairly easy and haven't had much disruption in how I do my work.  However, there are some games I like to play such as Football Manager and some older games which rely on 3D rendering (either software or hardware). At the moment I have a VirtualBox VM running Windows XP and 95% of the games I've installed on this have failed to run due to problems with the graphics card (the virtual graphics card).  What I would like to do is get the VM to use the laptop's actual physical graphics card directly, or something similar. I know there is a performance issue, but most of the games I play are over 5 years old and I'm not bothered about graphic quality etc. I just want it to work.  I don't have to use VirtualBox, I just used it because I'm used to it. If VMWare or another virtual technology is a better option than VirtualBox then I will use it.
111340
I have installed VirtualBox through the software centre, but when I try to start a VM, I get the following error:     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.   I already updated my dkms and installed linux-headers, but this /etc/init.d/vboxdrv doesn't exist.  I have been googling but I can't find an answer.
54575
Based on some excellent feedback by Mark here (), today I was able to use the vmware converter to clone my production server for a staging server.  However the nic won't come up no matter what I do. I attempted to inistall vmware tools, as I suspect that the fact that it is not installed might prevent the nic from working. (I have the nic set as a vmxnet3 card in the vm settings). The install failed because there were several dependencies missing as well as the Linux headers. Given that Ubuntu 9.04 has been EOL'd, the packages I need to install to get the vmware tools to install are no longer available. I doubt the ubuntu 9.04 install CD has the packages on it.   What are my options? I'd rather not upgrade the version of Ubuntu yet, as the point of the vm right now is to maintain parity with the production server. Might I have better luck resetting the driver to use vmxnet2 instead of the vmxnet3?  Thanks in advance!  Chris
7114
I regularly set up Virtualbox ubuntu setups to run as local webservers. I have set these up several times and never had an issue. However, something has changed:  1)VB guest additions no longer allow me to copy and paste (I'll worry about that later)  2)More importantly phpmyadmin no longer works as installed - Initially going to localhost/phpmyadmin gave a message that the page could not be found. So I have followed some instructions which told me to do the following in var/www:  sudo ln -s /usr/share/phpmyadmin phpmyadmin   which has created a phpmyadmin directory in /var/www but now I get an error saying:      the mysqli extension is missing.   If I run phpinfo mysql and mysqli are listed.  All I have done so far is   sudo apt-get update   sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install mysql-server   and   sudo apt-get install phpmyadmin    I found a post of a similar question which suggested I should do   sudo apt-get install php5-mysql   (I've done this) and edit php.ini and uncomment the line:  extension=mysqli.so   This is not there, so I tried adding it but no joy. I have restarted apache and still no phpmyadmin.  I'm running a windows 7 machine and the guest os is ubuntu 12.04
122472
I installed the VMware bundle on my Ubuntu 11.04 successfully but when I open it it gives me this window     and I don't know the path to this C headers.
111175
I used VIRTUALBOX to install Ubuntu 12.04 on my windows pc. I used apt-get to install Python 2.7 that shipped with 12.04. I followed the directives I saw on this site to install Numpy, Scipy, Matplot all failed. I download tar source file of these modules. How do I install them manually? Someone pls help, I'm getting frustrated.
108410
I'm trying to install the Guest Additions in VirtualBox 4.04. Host OS is Ubuntu desktop 11.04 64bit, guest OS is Ubuntu server 11.10 64bit.  $ sudo ./VBoxLinuxAdditions.run   After some output this line is printed:  The headers for the current running kernel were not found.   But the headers are installed, at least accordingly to dpkg:  $ dpkg --get-selections | grep linux-headers linux-headers-3.0.0-12            install linux-headers-3.0.0-12-server     install linux-headers-server              install   The running kernel is:  $ uname -a Linux foobar 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 X86_64 GNU/Linux   How do I fix things so that Guest Additions installer is able to find kernel headers?  Update: added full output.  The headers for the current running kernel were not found. If the module compilation fails then this could be the reason.  Building the main Guest Additions module ...done. Building the shared folder support module ...fail! (Look at /var/log/vboxadd-install.log to find out what went wrong) Installing the Window System drivers ...fails! (Could not find the X.Org or XFree86 Window System).   I don't care for fail #2, because that's a server and I don't need X server. But I need shared folder support.  Some further detail:  $ tail /val/log/vboxadd-install.log .......... cc1: some warnings being treated as errors make[2]: *** [/tmp/vbox.0/vfsmod.o] Error 1 make[1]: *** [_module_/tmp/vbox.0] Error 2 make: *** [vboxsf] Error 2
64446
Hi after upgrading to Ubuntu 17.10, vmware is now not starting.    I get the message:    /usr/lib/vmware/bin/vmware-modconfig: Relink `/lib/x86_64-linux-gnu/libbsd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'   I am aware that there are patches available and I am attempting to apply these and recompile. I have run from the solution at :    cd ~   #Copy the vmmon source tar ball to your temporary location cp /usr/lib/vmware/modules/source/vmmon.tar .    #Extract the tar ball tar xf vmmon.tar    #Download the modified file that mkubecek posted and overwrite the one from the tar ball for VMware Workstation 12.5: wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c     #Wrap up the newly modified files into a tar ball replacing the original one sudo tar cf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only    #Rebuild the VMware kernel modules sudo vmware-modconfig --console --install-all   Failed to get gcc information.  gcc --version gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0 ...   Unforunately, vmware-modconfig is failing because of a dependency it seems on a particular gcc version. Am I on the right track? Any help with this issue would be much appreciated.  EDIT Thank you Steve, the below has gotten vmware going again. I've included minor correction. Tested and confirmed I could run a virtual machine.   sudo su    # do all below as root cd /usr/lib/vmware/modules/source tar xvf vmmon.tar  tar xvf vmnet.tar wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c vim vmnet-only/bridge.c cd vmmon-only/ make cd ../vmnet-only/ make cd .. mkdir /lib/modules/4.13.0-16-generic/misc cp *.o /lib/modules/4.13.0-16-generic/misc insmod /lib/modules/4.13.0-16-generic/misc/vmmon.o insmod /lib/modules/4.13.0-16-generic/misc/vmnet.o rm /usr/lib/vmware/lib/libz.so.1/libz.so.1 ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1 vmware-networks --start exit  # run vmware as normal user /usr/lib/vmware/bin/vmware
33273
So over the weekend I arrive to work, boot my PC and run the virtualbox session of Ubuntu but now I get the message:     The folder contents could not be displayed   You do not have the permissions necessary to view the contents of "sf_virtual"   I don't understand what could have happened?  I did install an update and read an article to re-install Guest Additions and it still doesn't allow access in /media.  When I do gksudo nautilus and then sudo ls -al /media/sf_virtual it will display all the files in virtual as -rwxrwx--- 1 root vboxsf numbers month date time filename.  When I am under name in the terminal ls /media/sf_virtual it returns Permission denied. Any ideas on how to get access back?   I have removed the shared folders and added new ones but it still doesn't work.
56870
I'm attempting to install VirtualBox inside of an offsite OpenVZ instance I got a good deal on. The point being to run a small Windows XP box for some kind of Windows Server.   Yes, it's an experiment. No, it's not for production.   It seems like everything would work fine, but the installer can't find my distro's sources. My instance has Debian 6 installed. Running uname -r gives me 2.6.32-042stab061.2. I've looked all through my apt-cache for anything similar, tried installing linux-sources-2.6.32 and a variety of linux-headers, but I'm having no luck.  Does anyone know how I can get the proper sources for this instance so VirtualBox can compile itself? Thanks.