Install virtualbox on Ubuntu 7.10 ● set the permission to use USB connector

Source: Internet
Author: User

1. choose system> Management> user and group> Management Group (m ): "usbusers" is added to the group. (Note that this section will be used to set the usb fs step under "group awareness ), and users who use vitualbox will be checked.

2. Start the terminal and run the following command:

sudo gedit /etc/udev/rules.d/40-permissions.rules

Find:

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0664"

Convert:

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664"

3. Save the token and restart the machine.

Ubuntu 7.10 USB FS

In Ubuntu 7.10, when usb fs is configured, the following error occurs in virtualbox:

Cocould not load the host USB proxy service (verr_file_not_found). The service might be not installed on the host computer.
 
Result:
Zero X 80004005
Ingredients:
Host
Interface:
Ihost {81729c26-1aec-46f5-b7c0-cc7364738fdb}
Called end:
Imachine {31f7169f-14da-4c55-8cb6-a3665186e35e}

In order to fix this problem, I rummaged through it and found the following methods:

Start the terminal and run the following command:

sudo gedit /etc/init.d/mountdevsubfs.sh

After opening the instance, find:

#
# 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

Remove the # Of the last four rows as follows:

#
# 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

Save the statement and then merge the rows:

sudo /etc/init.d/mountdevsubfs.sh start

Run the following command:

sudo gedit /etc/fstab

Add the following lines at the end of the sequence:

none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0

Note that the devgid is the "Group Awareness" in the preceding permission restriction step 」.

Try again laterOrRun the following command ):

mount /proc/bus/usb

It will not cause any further warning, and the USB flash drive can be used properly.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.