VirtualBox

Version 27 (modified by Frank Mehnert, 18 years ago) ( diff )

--

Frequently Asked Questions for end users (User FAQ)

Here you can find common questions, frequently asked on the VirtualBox mailing lists and IRC channel, along with their answers. Please consult this list every time you run into a problem that is not described in the User Manual.

Note that we update the User Manual on a regular basis, and information that first shows up on this page is moved to the User Manual regularly. As a result, please do check the User Manual also, especially the "Troubleshooting" section.

Also make sure to check whether you are running the latest version of VirtualBox.

General

  • VirtualBox does not yet support 64-bit hosts. This is actively being worked on. (And no, you can't install the 32-bit version on a 64-bit host.)

Linux hosts

  • If you get a message saying "VirtualBox kernel driver not accessible, permission problem" when starting VirtualBox right after installation, make sure that your user account is listed in the vboxusers group. The installation takes care creating that group, but you will need to manually add all users to it that should be allowed to run VirtualBox. As root, for each such user, run usermod -G vboxusers -a <userid>. If any of the affected users are currently logged in, they need to log out for the changes to take effect. In case any user already attempted to start VirtualBox before logging out (which launches the VBoxSVC service process with incorrect permissions), that user additionally needs to run VirtualBox shutdown from the command line to terminate the service. This solves the permission problems. (Alternatively, a reboot will help as well.)
  • If the kernel module refuses to load with a message saying "Error inserting vboxdrv: Invalid argument", check (as root) the output of the "dmesg" command, and see "Troubleshooting" -> "Linux hosts" in the User Manual for solutions.
  • If USB doesn't work, check your usbfs permissions. See "Troubleshooting" -> "Linux hosts" in the User Manual for a solution.
  • Debian packages: If the installation of the ! VirtualBox_*.deb package was not successful because the compilation of the kernel module fails, it might not be possible to remove the package nor to install other packages as the pre-remove (prerm) script of the package (which is executed prior to package removing or upgrading) aborts with an error "(Kernel module not found)...fail!". In that case do the following:
    • Edit /etc/init.d/virtualbox and change line 129 from 'exit 1' to 'exit 0'
    • Reinstall the virtualbox package by 'dpkg -i <the VirtualBox package for your distribution>'. An installation failure of this package is expected.
    • Edit /var/lib/dpkg/info/virtualbox.postinst and change line 39 from 'exit 1' to 'exit 0'
    • Execute 'dpkg --configure --pending'
    • The package should now be installed successfully. However, the kernel module is still not compiled. Before you will be able to execute VirtualBox you have to create a kernel module for your current kernel, as described in the User Manual (see our Downloads section).

Windows hosts

  • Currently, VirtualBox only works if you have administrator rights. We are working on supporting regular user accounts.
  • Windows Vista hosts might show an error about a COM server not being accessible. This is a problem of our installation routine which we have not figured out yet. To fix the problem, open a command prompt shell and enter:
    cd \Programs\InnoTek VirtualBox
    VBoxSVC.exe /ReRegServer
    regsvr32.exe VBoxC.dll
    
  • If VirtualBox messes up your USB stack on Windows and you can no longer work with your USB devices, try removing VBoxUSBFlt from LowerFilters of the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}. At this time, we do not know what causes this problem and we have only had very few reports so this is just in case.

Windows Vista guests

  • There is no networking in Windows Vista guests initially because, unfortunately, with Vista, Microsoft dropped driver support for the virtual AMD PCnet card that we are providing. See "Troubleshooting" -> "Windows guests" in the User Manual for a solution.

Linux guests

Note: See TracWiki for help on using the wiki.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette