VirtualBox usb apparaten laten werken

virtualvox-logo

Eerst moet je de Oracle VM VirtualBox Guest additions installeren.

Daarna moet je jezelf aan de vboxusers groep toewijzen

I had the same problem and fixed it by clicking in the VirtualBox group of my user. You can access it installing gnome-system-tools (it does not come with Ubuntu 12.04 Precise Pangolin), either via the Ubuntu Software Center, Synaptic or by typing in the terminal:

sudo apt-get install gnome-system-tools

Remember that to paste in the terminal you have to use CTRL+SHIFT+V, as opposed to CTRL+V

You will probably have to enter your password to allow the installation and add a Y (as in yes) to finish installing the packages.

Then you head to your Dash home and type users. You will see two applications. The good one is Users and Groups.

You then have to click on Advanced settings for your user and enter your password.

Now you will be shown a window with three tabs. Click on User Privileges. Find the line that says Use Virtualbox virtualization solution and then OK.

Moving VirtualBox Virtual Machines

virtualvox-logo

Vandaag Ubuntu geinstalleerd op mijn desktop en VirtualBox geinstalleerd.

Nu kwam het moeilijke: de virtual machines samen met hun snapshots overzetten. Na wat google werk een methode gevonden.

  • Kopieer de VirtualBox VMs map uit je home directory naar een schijf.
  • Kopieer de .VirtualBox map uit je home directory naar een schijf.

Op de nieuwe computer:

  • Kopieer de virtual machines naar de VirtualBox VMs map in je home directory (die je zelf aangemaakt hebt)
  • Kopieer het bestand VirtualBox.xml uit de opgeslagen .VirtualBox map naar de nieuwe .VirtualBox map in je home directory.

Start nu VirtualBox op en je zal al je virtual machines zien, samen met hun snapshots.

Mocht je nu een error dat de uuid van de vbox niet hetzelfde is als die in de config file, dan moet je handmatig de VirtualBox.xml aanpassen en daar de uuid ingeven die je ziet voor desbetreffende vbox.

 

Debian Wheezy

debian-wheezy-100036446-large

Juist Debian 7.0 (Wheezy) geinstalleerd op mijn desktop.

Maar sommige programma’s zijn enkel beschikbaar voor windows, dus heb ik virtualbox geinstalleerd samen met windows XP. Alles verliep heel vlot, tot dat ik usb apparaten wilde gebruiken in virtualbox. Ik kon ze niet selecteren.

Dus effe google gebruikt en de oplossing vrij snel gevonden.

After having installed Virtual Box together with the Oracle Extension Pack and the Guest Additions we are able to activate USB devices attached to the host by right clicking the little icon on the right bottom of Virtual Box Manager to select the USB device.

By doing so the USB device will be deactivated from the host. After installing the appropriate drivers on the guest you will have full access to the device from the guest.

Note: On the host users need to be in the group vboxusers to allow access on USB devices from the guest. Run sudo usermod -a -G vboxusers <YOUR_USER_NAME>, logout and login again to get the effective change.

Wat je moet doen is applicatie Terminal als root opstarten, want root zit in de sudo lijst. En dan het commando ingeven zoals hierboven