Results 1 to 3 of 3

Thread: Mount USB in virtualbox(not OSE)

  1. #1
    Join Date
    Jan 2008
    Location
    Ottawa, Canada
    Beans
    253

    Mount USB in virtualbox(not OSE)

    I have several OSs running in virtual box, and want the winXP one to mount USB. I created the filters for the devices, but when I go to mount them in the bottom right corner of the guest OS window, they are greyed out. Why?

  2. #2
    Join Date
    Feb 2008
    Location
    $pwd
    Beans
    329
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Mount USB in virtualbox(not OSE)

    Quote Originally Posted by Raccoon1400 View Post
    I have several OSs running in virtual box, and want the winXP one to mount USB. I created the filters for the devices, but when I go to mount them in the bottom right corner of the guest OS window, they are greyed out. Why?
    did you try that?

    1-sudo gedit /etc/fstab
    2-paste this line to the end of your fstab:
    none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0
    3-sudo gedit /etc/init.d/mountdevsubfs.sh
    4- change the (original:
    #
    # Magic to make /proc/bus/usb work
    #
    #mkdir -p /dev/bus/usb/.usbfs
    #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    #ln -s .usbfs/devices /dev/bus/usb/devices
    #mount --rbind /dev/bus/usb /proc/bus/usb)

    after change

    #Magic to make /proc/bus/usb work

    mkdir -p /dev/bus/usb/.usbfs
    domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    ln -s .usbfs/devices /dev/bus/usb/devices
    mount --rbind /dev/bus/usb /proc/bus/usb

    5-Find your vboxusers number
    6-sudo gedit /etc/fstab
    7-none /proc/bus/usb usbfs devgid= enter vboxusers number HERE,devmode=664 0 0
    ---------------------------
    8-sudo chown -R root:vboxusers /proc/bus/usb

    9-reboot
    10-open virtualbox and go to settings->general
    11-enable IO APIC
    12-settings->usb
    enable USB, and add the USB devices to your VirtualBox with the green USB icon.(Deivces must be plugged in for this to work)
    Unique Beautiful Unlimited New Trust Unix

  3. #3
    Join Date
    Nov 2006
    Location
    ohio
    Beans
    82
    Distro
    Ubuntu 6.10 Edgy

    Re: Mount USB in virtualbox(not OSE)

    Int the Virtualbox window highlight the machine you want USB with. then click settings. in the new window scroll down to USB and click on it.
    Then on the right side check the boxes to enable USB. The USB ECHI is for USB 2 if you need it. then under USB filters Add the USB devices you want to use in that machine. Don't add mouse or keyboard. Be warned that the host and the guest cannot access the USB device at the same time.
    Now the USB choices on the bottom right should work.
    caver1

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •