Results 1 to 5 of 5

Thread: How to access USB?

  1. #1
    Join Date
    Apr 2006
    Beans
    47

    How to access USB?

    I just installed VirtualBox ok! Under it, I have installed a Windows 7 virtual machine, which is running ok, too. Hit one roadblock, though. When I go to add USB access, the manual says
    to execute the command
    sudo usermod -a -G vboxusers username

    I assume it means the username for Windows 7, which in my case is 'Lee'. But when I run that command
    sudo usermod -a -G vboxusers Lee
    it responds
    usermod: user 'Lee' does not exist
    Should I be using my linux username instead?? I tried that, and
    it accepts it, but still doesn't let me access USB.

    HELP! Thanks in advance!

  2. #2
    Join Date
    Oct 2010
    Location
    Finland
    Beans
    252
    Distro
    Ubuntu

    Re: How to access USB?

    The username refers to your username in Ubuntu, NOT in Windows 7. Try doing it again with your Ubuntu username.
    Edit: You should also restart your computer after doing this.

  3. #3
    Join Date
    Jun 2007
    Beans
    Hidden!

    Re: How to access USB?

    No need to restart, just relogin.
    Or in theory, open a new shell.
    Dedoimedo

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to access USB?

    Also for USB access you need to install the VirtualBox extension pack available here:
    https://www.virtualbox.org/wiki/Downloads
    Cheesemill

  5. #5
    Join Date
    Oct 2005
    Location
    Casa Grande, AZ
    Beans
    88
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to access USB?

    And remember when the kernel updates in Ubuntu
    you have to run this command to use virtual box
    "sudo /etc/init.d/vboxdrv setup"
    Ok, one of these days I will get it right the first time!
    Good thing there's a backup!

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
  •