centos Virtualbox USB working

check vboxusers ID
# cat /etc/group |grep vboxusers |awk -F : ‘{print $3}’
501 <---------------這代號每一台都不一定,我的是500

Create a directory to mount usbfs in: #通常已設好

# mkdir /vbusbf

Add mount to /etc/fstab and change “devgid” value to the GID you obtained from the command above:

# echo none /vbusbf usbfs rw.devgid=501,devmode=664 0 0 # devgid=501這代號是vboxusers ID
Re-mount /etc/fstab mounts:

# mount -a

Add your user to the vboxusers group (change “username” to your username):

# usermod -a -G vboxusers username

Enable USB controller in VirtualBox for VM Host:
打開虛擬os usb選項,就可以看到妳現在的usb裝置
Settings > USB
virtualbox_usb

以下參考網址 http://www.kernelhardware.org/fedora-virtualbox-usb-working/

本篇發表於 未分類。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>