Page 1 of 7 123 ... LastLast
Results 1 to 10 of 70

Thread: Sun Virtual Machine

  1. #1
    Join Date
    Mar 2009
    Location
    Oklahoma, United States
    Posts
    35

    Default Sun Virtual Machine

    I have added myself to the vboxusers in yast. I stll cannot access USB.

    Suse 11.1 host, XP pro guest.

    This is not the OSE version.

  2. #2

    Default Re: Sun Virtual Machine

    USB in VirtualBox on openSuse seems to be a problem.

    First, the USB device must be plugged in before starting your VirtualBox machine. Second, the device must be enabled in the settings section of your VirtualBox machine, again before starting the virtual OS.

    You will also probably have to modify /etc/fstab. The guide for openSUSE 10.3 and 11.0 is at:

    Virtualbox USB Support - openSUSE.

    I, and others, had to put the line
    Code:
    mount -a
    in the file /etc/init.d/boot.local to make USB work. After the edits have been made, you'll need to reboot to have the changes take effect.

    I use 11.0, and have only mounted different USB flash drives, not hard drives or mp3 players, in VirtualBox. I also am not sure if the edits to fstab would be different for 11.1, but the ones given at the above link won't harm your system.

  3. #3
    Join Date
    Mar 2009
    Location
    Oklahoma, United States
    Posts
    35

    Default Re: Sun Virtual Machine

    How do I get the "gid" number?

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,990
    Blog Entries
    16

    Default Re: Sun Virtual Machine

    Open a terminal

    Code:
    grep vboxuser /etc/group
    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Mar 2009
    Location
    Oklahoma, United States
    Posts
    35

    Default Re: Sun Virtual Machine

    So I got the gid number. But the directions Virtualbox USB Support - openSUSE are not clear to me.

    Can someone hold my hand through this?

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,990
    Blog Entries
    16

    Default Re: Sun Virtual Machine

    This section of the HowTo:

    (2) As root, edit /etc/fstab and set the gid and mode for usbfs as follows: /sys/bus/usb/drivers /proc/bus/usb usbfs devmode=664,devgid=113 0 0

    The 113 is the number you just found, whatever the number is for you:


    Depending on if you use kde or gnome, edit fstab this way:

    kdesu kwrite /etc/fstab
    gnomesu gedit /etc/fstab

    Note the user comments on the Page too.
    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

  7. #7
    Join Date
    Jun 2008
    Location
    Skogås Sweden
    Posts
    495

    Default Re: Sun Virtual Machine

    I'm taking the risk of createing more confusion on this topic. Fact is I'm running 11.1-32bit and since VirtualBox 2.1.4, the latest version from SUN, there's no need to edit fstab or issue any mount command. Can anyone confirm this? Does it work this way for 64-bit too? The good guys at SUN-VirtualBox are doing a fine job ass I see it!

  8. #8

    Default Re: Sun Virtual Machine

    Hi folks,

    /me running OSS 11.0 x86-64 with
    VirtualBox 2.1.4 (latest) Took some
    headbanging with USB but finally
    works 99.9% w/o hickups.
    As per instructions you have to add user
    to vboxusers (after finding out GID as explained)
    Crucial part to working USB was to add in /etc/fstab:

    /sys/bus/usb/drivers /proc/bus/usb usbfs devgid=XXX devmode=664 0 0

    where XXX should be the vboxusers GID

    Not sure about 11.1, but try same and revert

    Best Regards

  9. #9

    Default Re: Sun Virtual Machine

    Sorry! missed a comma. The correct entry
    (copied from nano)
    /sys/bus/usb/drivers /proc/bus/usb usbfs devgid=XXXX,devmode=664 0 0

    Regards

  10. #10
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,321

    Smile Re: Sun Virtual Machine

    I have an different situation. First off, my usb works.

    I'm using OpenSUSE 11.1 with KDE 4.2.1 "108"

    Anyways, I needed usb support because my Sonicstage for my NetMD wouldn't work with wine and Vista wouldn't install it correctly or even run it. So I needed support from XP in my virtual machine.

    I tried all of the above suggestions, since usb didn't work in the first place (using the latest Virtualbox), and none worked.

    The only way I got it working was to have
    Code:
    none  /proc/bus/usb  usbfs devgid=1000,devmode=XXX 0 0
    in my fstab.

    Not
    Code:
    /sys/bus/usb/drivers /proc/bus/usb usbfs devgid=XXX devmode=664 0 0
    I'm not sure why or if something's wrong with that, but it's the only way it's works for me, so if nothing else works you can try that also.



    Hope this helps!
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

Page 1 of 7 123 ... LastLast

Tags for this Thread

Posting Permissions

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