Fix: Connecting USB Devices To VirtualBox On Fedora 11

virtualbox-thumb

Update: This problem has been resolved in VirtualBox Version 3.0.8. Remove the following fix before upgrading to 3.0.8 to take advantage of the update.  For help on installing VirtualBox on Fedora 11, checkout our guide.

I have come across one problem with VirtualBox on Fedora 11 – USB devices are listed in the device manager but are grayed out and cannot be enabled.  To see if this problems exists on your system you can navigate to Devices > USB Devices in a running virtual machine console window.  The devices physically connected to the host are shown, but are grayed out and are not clickable, preventing them from being connected to the virtual machine.

To correct the problem, edit /etc/fstab and add the following line:

none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0

Substitute “devgid=501” with the id of the vboxusers group which all VirtualBox users should be part of.  The id of the vboxusers group can be found by navigating to System > Administration > Users and Groups.

Once you are finished, power off all virtual machines.  Run the following command in Fedora to enable USB support:

mount -a

When you power on your Virtual Machine next time, the USB devices under Devices should no longer be grayed out and are now clickable, allowing you to connect them to your virtual machines.

How To: Mount Images (ISO Files) in Windows XP with a Small, Free Microsoft App

Windows XP:  If you have ever downloaded a disk image (ISO file), you likely burned it to a CD or DVD and put it in your optical drive.  Well, image files don’t necessarily need to be burned to physical media – they can be mounted “virtually” in your operating system and be used just the same.  Software such as Daemon Tools (free) and Alcohol 120% (not free) can mount disk images, but why use those when Microsoft has a free image mounting program?

Virtual CD Control Panel is a free (albeit unsupported) program from Microsoft that lets you quickly mount images in Windows XP.  Although the program doesn’t list support for DVD images, I mounted the Windows 7 installation DVD without any problems.

Getting Started

  1. Download Windows XP Virtual CD Control Panel and extract the files.
  2. Copy VCdRom.sys (included in the zip file) to C:/WINDOWS/system32/drivers(or see detailed instructions below).
    1. Click Start –> Run.
      winxpmountcd_run
    2. Type %SystemRoot%/system32/drivers and press enter.
      winxpmountcd_system32drivers
    3. Copy VCdRom.sys into this folder.
  3. Run the program by opening VCdControlTool.exe
  4. Click Driver Control, then click Install Driver.
    winxpmountcd_drivercontrolwinxpmountcd_installdriver
  5. Navigate to the folder where you copied VCdRom.sys (C:/WINDOWS/system32/drivers), select it, and click Open.
  6. Click Start, then OK.
    winxpmountcd_start

Mounting an Image File

  1. In the Virtual CD Control Panel application, click Add Drive which will create the virtual drive.
    winxpmountcd_adddrive
  2. Click ‘Mount’ and select the ISO file you would like to use.  Click OK in Special Mount Options.
    winxpmountcd_mountwinxpmountcd_specialmount
  3. Your disc will now be fully accessible in My Computer, just the same as if you had the disc in your optical drive.
    winxpmountcd_mountedcd

Unmounting an Image File

  1. In Virtual CD Control Panel, select your virtual drive and click Eject.
  2. Click Remove Drive.

Virtual CD Control Panel is a free application for Windows XP.  [Download]