Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Windows XP as a virtual machine and everything works great except I don't have access to my flash drives. I have the USB filter turned on but when I click the + sign (on the right side of the list of filters) to configure them to the host devices it shows "no devices available". Any ideas?
I am running Windows XP as a virtual machine and everything works great except I don't have access to my flash drives. I have the USB filter turned on but when I click the + sign (on the right side of the list of filters) to configure them to the host devices it shows "no devices available". Any ideas?
An idea for a workaround which I just tested: I am using the OSE edition which does not support USB. However, the surrounding Linux does; so I put in a USB stick, which gets mounted to /media/disk-1 on my Ubuntu system.
Next, in the menu of your VM use devices -> shared folders and set up a shared folder with the directory /media/disk-1 (in my case).
You can connect this directory via Explorer using the 'connect network drive' feature.
I'm sure that will work wonderfully . . . now, pretend that I knew nothing about computers. By Explorer, do you mean Internet Explorer? Then, where is the "connect network drive" feature. Sorry, but I need a step-by-step guide here.
I'm sure that will work wonderfully . . . now, pretend that I knew nothing about computers. By Explorer, do you mean Internet Explorer? Then, where is the "connect network drive" feature. Sorry, but I need a step-by-step guide here.
First off, I just discovered there's a snag: this morning when I tried to boot the virtual machine it wouldn't do so unless I put in the USB stick. I guess you could use that effect as a security feature...
OK, you've booted the virtual box Windows, and you have connected a USB stick, so that it is available in Linux.
In Windows, open the Explorer; that's not the Internet Explorer but the file Explorer, the file management tool Windows comes with (it actually is the same program as Internet Explorer more or less, but you don't need the internet features here. Confusing, I know, but I never said Windows was easy.).
The Explorer is either in the Accessories group of programs or you can get at it by right-clicking the start button; you can also open 'My Computer', what you see there is one of the many faces of the Explorer.
In the menu of Virtual Box itself there should be an entry called 'Device' (I'm translating from my German version here, so what I tell you might not exactly match your situation). The device menu has entries such as add / remove CD ROM etc. One entry should say 'shared folders' or something like that; it is the second from the bottom, just above 'install guest additions' (which is something you might have to do first: install the guest additions).
Click 'shared folders', and you'll see a directory structure with not much in it. There is an 'add' button (folder with a green plus sign). Click that, and you can choose any directory on your regular computer (the Linux system) to be listed here. You can do that for any folder, including the folder where your USB stick got mounted.
Once you have included that folder and clicked OK, you can add the folder to Explorer using the Explorer menu entry 'Extras' (it's the second from the right, next to the question mark) and in that drop down menu 'add network drive'. Choose any free drive letter such as Z:, then use 'browse' to find the USB drive. It is in 'Virtual Box Shared Folders' in the network environment you're presented with.
Afterwards you can access this folder just like any other. You should take care to disconnect the network drive and remove it from the shared folders list in Virtual Box before powering it down, or else you end up like I did with no access to your virtual machine unless you stick that USB stick back in.
Robin
Last edited by bitpicker; 08-27-2008 at 02:29 AM.
Reason: typos
You need to clarify to this forum that you have the VB binaries (i.e. not OSE Virtual Box) installed and that you want access to all USB devices, not just MSD (Memory Sotrage Devices).
I dont run ubuntu but the steps you might want to follow are:
1. Identify if the kernel has recognised a USB device (I thought the command was lsusb on ubuntu). This should basically print out the device info stored in the USB chips.
2. Identify if a suitable kernel module has been loaded to act as a driver to the device (lsmod)
3. If your system has HAL running , check to see if the daemon has detected and connected the USB device.
4. As root user, start VB and see if you can connect to the USB filters.
5. If you cannot do this as a "normal" user you probably need the devfs usb fix that mounts the USB filesystem so that users can access USB devices. Its probably worth trying this anyway Brian. Simply add the following to your /etc/fstab file and reboot
Thanks to everyone. I'm going to try to boot windows as the OS and VM ubuntu. I already have the program and know people who are doing it that way so they can actually come over if I have a problem. Needless to say, don't worry about still trying to get me usb support. I promise I still won't be a stranger to this site.
Thanks to everyone. I'm going to try to boot windows as the OS and VM ubuntu. I already have the program and know people who are doing it that way so they can actually come over if I have a problem. Needless to say, don't worry about still trying to get me usb support. I promise I still won't be a stranger to this site.
I was never able to figure out how to get the 'shared folders' in VB to work on my Win 7 guest before but this did it. Thanks a lot for taking the time to write out the process.
(sorry for bumping such an old thread but I had to register just to thank you
Quote:
Originally Posted by bitpicker
First off, I just discovered there's a snag: this morning when I tried to boot the virtual machine it wouldn't do so unless I put in the USB stick. I guess you could use that effect as a security feature...
OK, you've booted the virtual box Windows, and you have connected a USB stick, so that it is available in Linux.
In Windows, open the Explorer; that's not the Internet Explorer but the file Explorer, the file management tool Windows comes with (it actually is the same program as Internet Explorer more or less, but you don't need the internet features here. Confusing, I know, but I never said Windows was easy.).
The Explorer is either in the Accessories group of programs or you can get at it by right-clicking the start button; you can also open 'My Computer', what you see there is one of the many faces of the Explorer.
In the menu of Virtual Box itself there should be an entry called 'Device' (I'm translating from my German version here, so what I tell you might not exactly match your situation). The device menu has entries such as add / remove CD ROM etc. One entry should say 'shared folders' or something like that; it is the second from the bottom, just above 'install guest additions' (which is something you might have to do first: install the guest additions).
Click 'shared folders', and you'll see a directory structure with not much in it. There is an 'add' button (folder with a green plus sign). Click that, and you can choose any directory on your regular computer (the Linux system) to be listed here. You can do that for any folder, including the folder where your USB stick got mounted.
Once you have included that folder and clicked OK, you can add the folder to Explorer using the Explorer menu entry 'Extras' (it's the second from the right, next to the question mark) and in that drop down menu 'add network drive'. Choose any free drive letter such as Z:, then use 'browse' to find the USB drive. It is in 'Virtual Box Shared Folders' in the network environment you're presented with.
Afterwards you can access this folder just like any other. You should take care to disconnect the network drive and remove it from the shared folders list in Virtual Box before powering it down, or else you end up like I did with no access to your virtual machine unless you stick that USB stick back in.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.