![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Intrepid Ibex Testing and Discussion (Closed) Development of Intrepid Ibex is finished. Please ask questions about Ubuntu 8.10 in Absolute Beginner Talk or Main Support Categories. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2007
Location: Texas
My beans are hidden!
Ubuntu Intrepid Ibex (testing)
|
Intrepid/Virtualbox/USB
All,
Has anyone been able to get USB working with Virtualbox 2.0.2 ( non ose version ) ? I'm running Intrepid Beta. Mike
__________________
txHarleyMan Registered Linux User #443027 Last edited by txHarleyMan; October 13th, 2008 at 10:32 PM.. Reason: SOLVED |
|
|
|
|
#2 |
|
Quad Shot of Ubuntu
![]() |
Re: Intrepid/Virtualbox/USB
Yea I have it working in mine. I forget the link to the source I used to set it up though, Ill look for it and post back here if I find it.
As usual make sure you have added yourself to the vboxusers group. Also I checked my fstab so I know I had to add this to get it to enable on every boot: Code:
#usbfs none /proc/bus/usb usbfs devgid=46,devmode=664 0 0 |
|
|
|
|
#3 | |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2007
Location: Texas
My beans are hidden!
Ubuntu Intrepid Ibex (testing)
|
Re: Intrepid/Virtualbox/USB
Quote:
Mike
__________________
txHarleyMan Registered Linux User #443027 |
|
|
|
|
|
#4 | |
|
First Cup of Ubuntu
![]() Join Date: Nov 2007
Beans: 12
Ubuntu Jaunty Jackalope (testing)
|
Re: Intrepid/Virtualbox/USB
Here you go:
HTML Code:
http://www.ubuntu-unleashed.com/2008/04/howto-install-virtualbox-in-hardy-heron.html Quote:
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: mountdevsubfs
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: udev
# Default-Start: S
# Default-Stop:
# Short-Description: Mount special file systems under /dev.
# Description: Mount the virtual filesystems the kernel provides
# that ordinarily live under the /dev filesystem.
### END INIT INFO
#
# This script gets called multiple times during boot
#
PATH=/lib/init:/sbin:/bin
TTYGRP=5
TTYMODE=620
[ -f /etc/default/devpts ] && . /etc/default/devpts
TMPFS_SIZE=
[ -f /etc/default/tmpfs ] && . /etc/default/tmpfs
KERNEL="$(uname -s)"
. /lib/lsb/init-functions
. /lib/init/mount-functions.sh
do_start () {
#
# Mount a tmpfs on /dev/shm
#
SHM_OPT=
[ "${SHM_SIZE:=$TMPFS_SIZE}" ] && SHM_OPT=",size=$SHM_SIZE"
domount tmpfs shmfs /dev/shm tmpfs -onosuid,nodev$SHM_OPT
#
# Mount /dev/pts. Master ptmx node is already created by udev.
#
domount devpts "" /dev/pts devpts -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE
# 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
}
case "$1" in
"")
echo "Warning: mountdevsubfs should be called with the 'start' argument." >&2
do_start
;;
start)
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
# No-op
;;
*)
echo "Usage: mountdevsubfs [start|stop]" >&2
exit 3
;;
esac
|
|
|
|
|
|
#5 |
|
Ubuntu Extra Shot
![]() Join Date: Oct 2005
Location: Columbus Ohio
Beans: 394
Ubuntu Karmic Koala (testing)
|
Re: Intrepid/Virtualbox/USB
This doesn't work in intrepid due to the changes. You must add the information to fstab. Its alot easier to do imo: )
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2007
Location: Texas
My beans are hidden!
Ubuntu Intrepid Ibex (testing)
|
Re: Intrepid/Virtualbox/USB
Correct. Working fine now. Thanks, All!
__________________
txHarleyMan Registered Linux User #443027 |
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2007
Beans: 54
Ubuntu 8.10 Intrepid Ibex
|
Re: Intrepid/Virtualbox/USB
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2006
Beans: 11
|
Re: Intrepid/Virtualbox/USB
This did not work for me.
I made sure I am in the vboxusers group, added the line from ju2wheels's post to my fstab, and restarted. I also tried having devmode=666 and devgid=124 (the id of the vboxusers group). No matter what I tried nothing ever showed up in the Devices > USB Devices menu. I am on Intrepid and using virtualbox 2.0.2_OSE. Any ideas as to what I am missing? David EDIT: It looks like the OSE edition does not support usb, I will get the non OSE version. Last edited by davidfg4; October 25th, 2008 at 08:52 PM.. |
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2006
Beans: 11
|
Re: Intrepid/Virtualbox/USB
Alright, I got it working!
Thanks everyone! |
|
|
|
|
#10 |
|
100% Pure Ubuntu
![]() Join Date: Jan 2007
Beans: 929
Kubuntu 9.10 Karmic Koala
|
Re: Intrepid/Virtualbox/USB
Wow, I didn't know the solution would be so simple. I never really had to use USB in a VM, but the warning box was always a bit unsettling =p
It's easier than the Hardy fix.
__________________
my shiz: http://inportb.com/ |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|