Written by Andrew @ http://www.webupd8.org
To add your username to the vboxusers group in Ubuntu
, go to System > Administration > Users and Groups
, click on “Manage groups”, scroll down to the “vboxusers” group and click “Propreties”, then check the box
next to your username and click OK:
Then log out
and log back in, plug in an USB stick
(or whatever you may need), start a VirtualBox machine and select the USB device
in the lower right. Using this, the USB device won’t be accessible each time you start the VM
To have an USB device available each time you start a VM, open VirtualBox, select a VM, click on “Settings” and on the USB tab, click the “+” icon on the right – this will display a list of your USB devices which you can add to your VM.
If you want to set up USB for VirtualBox manually, you can run the following command:
sudo gedit /etc/group
Then search for the “vboxusers” group and add your username to that line, like so:
“andrei” is my username – replace it with yours. Then save the file, log out and see above on how to add an USB drive to VirtualBox.