Search This Blog

Tuesday, April 13

How to Fix VirtualBox USB Support (ubuntu 9.10)


Step-by-step tutorial with screenshots !!



It is actually a known fact that there is an issue with VirtualBox and the attached USB devices that many of us are trying to use in the virtual machine. Here is a real-life example:

I am a 100% Linux user and I have a photo printer that Linux can't recognize. Let's say that I want to print some photos quickly, to give them to someone. I have a Windows installation in a virtual machine just for this reason (sad, I know) and I want to access my printer, which is connected via a USB port. To my surprise, I can see the printer in the USB device list of VirtualBox, but I can't access it (very frustrating). Firing up Firefox and searching on Google for a fix takes too long, because there are many old tutorials that teach you how to modify various files or change permissions, etc. What to do? Well, below is the answer to the endless VirtualBox – USB issue (and it's pretty damn simple too!).

This tutorial was created mostly for my needs, but I am sure that many of you will find it very helpful. Ready?

This is how a default installation of VirtualBox in Ubuntu 9.04 shows the USB devices, and we need to fix it.


Review image


Go to System -> Administration -> Users and Groups...


Review image


Click the "Unlock" button...


Review image


Type your password and click the "Authenticate" button....


Review image


Click on the "Manage Groups" button...


Review image


In the "Groups settings" window that will appear, scroll down until you see the vboxusers entry. Select it and then click on the "Properties" button...


Review image


Another window will appear, called "Group 'vboxusers' Properties. Just check the box in front of your username and click the "OK" button when you're done...


Review image


Close the "Group settings" and "Users Settings" windows and log out. Log in and open up VirtualBox, start your virtual machine and you will see that you can now access the USB devices!


Review image


Yes... it was that simple!



Post your review for this tutorial on lifeisbeautiful0505@gmail.com

How to Fix Windows 7 Sharing in VirtualBox


Workaround for Shared Folders in VirtualBox with Windows 7 !!!



So, what's not working? Well, you set the folder(s) in the "Shared Folders" section of the virtual machine's settings dialog and they will NOT appear in Windows 7, like it works with Windows XP.


Like many of you out there, I've searched and searched on the Internet for a solution to this issue, which I've also noticed to be quite popular (why should it be? you create something on the virtual machine and you want to save it, right?), and many guides are incomplete or they point you in the wrong direction. Therefore, I present today  a step-by-step tutorial (with screenshots) to this very simple-to-fix issue (you won't believe how simple it was in the end).

For this tutorial, we've used VirtualBox 3.0.6 and Windows 7 Ultimate, on an Ubuntu 9.10 Alpha 6 machine. The following steps assume that you do NOT have any shared folders added to your Windows 7 virtual machine. If you already have set the folders, just follow the last three steps!

1. Open VirtualBox, and with the Windows 7 virtual machine selected in the left side, click the 'General' button on the "Details" tab.


Review image

2. In the settings window that appears, click the "Shared Folders" entry (last one) and then click on the little folder icon with a + on it (on the right) to add a new shared folder...

Review image
Review image

3. A new dialog appears, called Add Share. Click the arrow on the "Folder Path" field and select 'Other.' Search for the folder you want to share with the Windows 7 virtual machine and click OK...

Review image

4. You will now see the full path to the folder you want to share and you can give it a name or just leave it as it is. Click OK to close the "Add Share" dialog...

Review image

5. You will now see the folder in the "Shared Folders" section. Click OK to close the settings dialog...

Review image

6. Now, start the Windows 7 virtual machine. When the system is fully loaded, open My Computer and click on the "Map network drive" button...

Review image

7. In the new window that appears, select a driver letter on the "Drive" field (any letter you want from the list), and... here is the big secret... type \\vboxsrv\ followed by the name of your shared folder, in the "Folder" field!

Also, don't forget to check the "Connect using different credentials" option either.

Review image

After this, click the "Finish" button and you will be prompted to insert the username and password of your Linux machine. Check the "Remember my credentials" option and click the OK button...

Review image

You can see your shared folder in the My Computer window, under the Network Location section... and it also shows how much space is left on the drive...

Review image

Simple, wasn't it?!


PLEASE POST YOUR COMMENTS ON  lifeisbeautiful0505@gmail.com