Thursday, December 3, 2009

Configure VirtualBox USB support to work in Fedora 12

Configure usbfs to allow vboxusers access to USB devices and add usbfs mount to /etc/fstab

Configure VirtualBox USB

Obtain the GID of the vboxusers group (your GID may different then 501):

# cat /etc/group |grep vboxusers |awk -F : '{print $3}'
501



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

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:

Settings > USB

No comments :

Post a Comment