Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40

Thread: USB problem with VirtualBox

  1. #1
    Join Date
    Dec 2006
    Beans
    9

    USB problem with VirtualBox

    Hi,
    I'm using VirtualBox to run Windows XP as a Guest OS over Ubuntu Edfy host.
    However, my virtual Windows doesn't recognize my usb flash drive, although USB mouse works fine.

    When I mounted this device from VM menu, I received an error message
    "Not permitted to open the USB device, check usbfs options".
    I understand that it is a common problem in virtual OS and tried to use recommendations for solving the similar problems in vmware.
    (http://kb.vmware.com/vmtnkb/search.d...60&stateId=0%2)

    I added the line
    Code:
    usbfs  /proc/bus/usb  usbfs  auto  0  0
    to the /etc/fstab file, however, it did not help.

    What shall I do?

    Thanks
    Alex

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    9,126
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: USB problem with VirtualBox

    Did you look at /proc/bus/usb?

    I have /proc/bus/usb/001/001 as an actual device. Perhaps you need to plug the device in and see what shows up in /proc/bus/usb and use that in your fstab.

    Good luck.

    ps: I have

    procbususb /proc/bus/usb usbfs rw 0 0

    in my fstab.
    Last edited by tgalati4; March 26th, 2007 at 05:01 AM.

  3. #3
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: USB problem with VirtualBox

    I am not sure how to activate a usb device in Edgy, but I can tell you how I did it in Feisty.

    First, it had nothing to do with fstab.

    This solution worked for me :

    Edit (as root) /etc/udev/rules.d/40-permissions.rules (I use vim, you can use nano, gedit or whatever)

    Change this line :

    SUBSYSTEM=="usb_device", MODE="0664"

    To :

    SUBSYSTEM=="usb_device", MODE="0666"


    For further advice see : http://www.virtualbox.org/download/UserManual.pdf

    See section 10 "Troubleshooting" there is a section on USB devices.

    FYI : I am working on a Virtual Box How-to for Ubuntu here : http://doc.gwos.org/doku.php/doc:office:virtualbox

    Feel free to give feedback
    Last edited by bodhi.zazen; December 18th, 2007 at 06:05 PM. Reason: spelling and added wiki reference
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  4. #4
    Join Date
    Dec 2006
    Beans
    9

    Re: USB problem with VirtualBox

    Thank you for your reply. I have the same proc/bus/usb/001/001 as an actual device. However, editing fstab directly did not help. I solved the problem using the method proposed by bodhi.zazen.

    Thank you for your help,
    Alex

  5. #5
    Join Date
    Dec 2006
    Beans
    9

    Re: USB problem with VirtualBox

    Bodhi.zazen,
    I will name my son after you.
    Your solution worked nicely!!!! Thanks!

  6. #6
    Join Date
    Nov 2005
    Location
    Cincinnati, OH
    Beans
    84
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: USB problem with VirtualBox

    Very good. Works great. Now able to sync my Samsung Blackjack with my XP and Vista vbox installs.

  7. #7
    Join Date
    Dec 2006
    Beans
    127
    Distro
    Xubuntu

    Re: USB problem with VirtualBox

    Thank you bodhi!!!!!!

    It works splendidly on Fiesty.
    Pax Vobiscum
    ...mark

  8. #8
    Join Date
    Mar 2007
    Location
    Pensacola, Fl
    Beans
    1,055
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: USB problem with VirtualBox

    Quote Originally Posted by bodhi.zazen View Post
    I am not sure how to activate a usb device in Edgy, but I can tell you how I did it in Feisty.

    First, it had nothing to do with fstab.

    This solution worked for me :

    Edit (as root) /etc/udev/rules.d/40-permissions.rules (I use vim, you can use nano, getid, or whatever)

    Change this line :

    SUBSYSTEM=="usb_device", MODE="0664"

    To :

    SUBSYSTEM=="usb_device", MODE="0666"


    For further advice see : http://www.virtualbox.org/download/UserManual.pdf

    See section 10 "Troubleshooting" there is a section on USB devices.
    Im getting quite angry very quickly. This doesnt work.

    None of the other crap works. I cant share between my virtual machine and linux at all no matter how many hours I spend trying to figure it out. I get the same message as the original post when trying to mount USB, and I cant setup a network. If I follow the virtualbox user guide, I get an error by step 2.
    Stop Trusted Computing! http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
    Asus Rampage 2 Extreme/2.66GHz i7 Quad/6GB DDR3 1600MHz 8-8-8-24/2x Nvidia 9800GTX+
    2x150GB 10krpm HD/2x1TB 7200RPM HD/3ware RAID/
    Xubuntu 11.04/Arch Linux/Gentoo Linux/Fedora

  9. #9
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: USB problem with VirtualBox

    Quote Originally Posted by GSF1200S View Post
    Im getting quite angry very quickly. This doesnt work.

    None of the other crap works. I cant share between my virtual machine and linux at all no matter how many hours I spend trying to figure it out. I get the same message as the original post when trying to mount USB, and I cant setup a network. If I follow the virtualbox user guide, I get an error by step 2.
    LOL

    If you are getting angry, time to give it a break !

    First, make the above change, be careful of typos. Then reboot and try again.

    Networking should work out of the box, that is you should have internet access.

    If you want to ssh or share files directly I wrote a how to here : http://doc.gwos.org/index.php/VirtualBox

    The documentation on Virtual Box is shall we say lacking. I am trying to maintain an information data base for Ubuntu on that above link. If anyone is having problems or has better solutions, PLEASE POST THEM and I will try my best to maintain the wiki.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  10. #10
    Join Date
    Mar 2007
    Location
    Pensacola, Fl
    Beans
    1,055
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: USB problem with VirtualBox

    Quote Originally Posted by bodhi.zazen View Post
    LOL

    If you are getting angry, time to give it a break !

    First, make the above change, be careful of typos. Then reboot and try again.

    Networking should work out of the box, that is you should have internet access.

    If you want to ssh or share files directly I wrote a how to here : http://doc.gwos.org/index.php/VirtualBox

    The documentation on Virtual Box is shall we say lacking. I am trying to maintain an information data base for Ubuntu on that above link. If anyone is having problems or has better solutions, PLEASE POST THEM and I will try my best to maintain the wiki.
    Thanks for you help.. I may get angry, but that only makes me research more. I managed to fix it, using a post in the Mepis Linux forums.

    http://www.mepislovers.org/forums/showthread.php?t=5152

    I wish I had seen your link before.. haha
    Stop Trusted Computing! http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html
    Asus Rampage 2 Extreme/2.66GHz i7 Quad/6GB DDR3 1600MHz 8-8-8-24/2x Nvidia 9800GTX+
    2x150GB 10krpm HD/2x1TB 7200RPM HD/3ware RAID/
    Xubuntu 11.04/Arch Linux/Gentoo Linux/Fedora

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •