Auto usb mount virtualbox

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
oranus
Contributor
Contributor
Posts: 69
Joined: 25 Aug 2011, 13:46
Location: Turkey

Auto usb mount virtualbox

Post#1 by oranus » 27 Apr 2013, 16:44

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...

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Auto usb mount virtualbox

Post#2 by fanthom » 27 Apr 2013, 23:42

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"
Please add [Solved] to your thread title if the solution was found.

Post Reply