Page 1 of 1

Auto usb mount virtualbox

Posted: 27 Apr 2013, 16:44
by oranus
Hi all,

I try to auto mount usb device on virtualbox. I find some ubuntu solve but I didn't to convert to Porteus.

Ubuntu solve is: https://forums.virtualbox.org/viewtopic.php?f=7&t=39374

How should I convert this udev rules and that script?

Thanks...

Re: Auto usb mount virtualbox

Posted: 27 Apr 2013, 23:42
by fanthom
linked post is quite detailed - just follow the procedure. remember to tweak /etc/udev/vbox-automount-usb.sh according to your username and virtual session name, sample:

Code: Select all

su - fanthom -c "VBoxManage controlvm Windows-XP usbattach $address"