I'm having some problems accessing my sandisk key drive from within my XP Guest.
As I'm running Ubuntu (Hardy), I've activated the "Magic to get /proc/bus/usb working" around line 40 in my /etc/init.d/mountdevsubfs.sh script.
My printer works flawlessly within my virtual machine, as does my iphone (as far as connecting it is concerned, still won't sync with itunes but I understand that's a bug). However when I try to connect my thumb drive, I get the following message: "Failed to attach the USB device Sandisk U3 Cruzer Micro [0200] to the virtual machine Windows XO MCE. Not permitted to open the USB device, check usbfs options. Result Code: 0x800004005."
Now as far as I'm aware, Hardy does not have a usb group or a true usbfs, so I'm not sure where to go to next.
Furthermore I've tried connecting it both with the device mounted in the host and unmounted, neither work.
I'd simply use a shared folder, but the virtual machine will not boot if the thumb drive is disconnected (which is a pain in the ass).
Any ideas? Do I need to provide more information?
USB Key Drive Problem
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
There is a Wiki page on the Ubuntu help site. You need the USBFS entry in your fstab. The line is as follows:
Devgid is ofcourse the groupID for the device. I created a group usbfs myself, you could use vboxusers, or any other group you are a member of, and put that group number in it.
Code: Select all
none /proc/bus/usb usbfs devgid=505,devmode=664 0 0
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.