![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Virtualization For questions on VMWare, VirtualBox, Xen, QEMU and other virtualization software. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() 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 What shall I do? Thanks Alex |
|
|
|
|
|
#2 |
|
Iced Blended Vanilla Crème Ubuntu
![]() Join Date: Feb 2007
Location: West Hills CA
Beans: 2,988
Ubuntu 9.04 Jaunty Jackalope
|
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 12:01 AM.. |
|
|
|
|
|
#3 |
|
Ubuntu Guru
![]() |
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
__________________
A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed. ~ Archbishop Desmond Tutu, 1999 ![]() Last edited by bodhi.zazen; December 18th, 2007 at 01:05 PM.. Reason: spelling and added wiki reference |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() 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 |
|
First Cup of Ubuntu
![]() 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 |
|
A Carafe of Ubuntu
![]() Join Date: Nov 2005
Location: Cincinnati, OH
Beans: 86
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 |
|
A Carafe of Ubuntu
![]() Join Date: Dec 2006
Beans: 87
Ubuntu 8.04 Hardy Heron
|
Re: USB problem with VirtualBox
Thank you bodhi!!!!!!
It works splendidly on Fiesty. ![]()
__________________
Pax Vobiscum ...mark |
|
|
|
|
|
#8 | |
|
Has an Ubuntu Drip
![]() |
Re: USB problem with VirtualBox
Quote:
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/ Ubuntu 8.10/Arch Linux/Gentoo Linux |
|
|
|
|
|
|
#9 | |
|
Ubuntu Guru
![]() |
Re: USB problem with VirtualBox
Quote:
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.
__________________
A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed. ~ Archbishop Desmond Tutu, 1999 ![]() |
|
|
|
|
|
|
#10 | |
|
Has an Ubuntu Drip
![]() |
Re: USB problem with VirtualBox
Quote:
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/ Ubuntu 8.10/Arch Linux/Gentoo Linux |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|