This guide explains how you can access your USB flash drive from within Windows XP when you running within Sun Oracle VirtualBox on Ubuntu. By default it just seems that the virtual machine is unable to access any drives connected to the computer – but with an easy shared folder work around we are able to geat read and write access to the drive. This has only been tested on windows XP but we are fairly certain it would work just fine on windows 7 or vista. Additionally – this method will work with more than just flash drives, a hard drive, optical Disc Drive, cell phone or MP3 player will work as well.
- Connect your USB drive and make sure you can access it from within Ubuntu.
- Go to your virtual box instance of Windows and from the virtual box menu (that bar at the bottom of the screen if you happen to be in full screen mode) select Devices -> Shared Folders.
- Click the little add button (with the green plus sign)
- Select the drop down menu next to Folder Path and choose Other
- Select your USB drive from the list of folders/drives on the left and click Open
- Check off Make Permanent (and do not check off Read-Only)
- Click OK
Alright so now the USB drive can be accessed from within windows. In order to get to the files simply follow the following few steps:
- Click the windows Start Button.
- Select Run
- Type in: //vboxsrv
- Press enter
You will now see a list of all folders/drives that are shared between windows and linux. For now you probably only have the one (which coresponds to your USB drive.) Open it up and you will have full access to the contents of your drive.