![]() |
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. |
|
Virtualization For questions on VMWare, VirtualBox, Xen, QEMU and other virtualization software. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2006
Location: Europe
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
HowTo: Install Virtualbox (2.x, 1.6.x) with USB support in Ubuntu 8.04 (Hardy)
# This post describes the procedure to install VirtualBox 2.1 in Ubuntu 8.10 (Intrepid) with USB support.
# Browse to http://www.virtualbox.org/wiki/Linux_Downloads and check if there is a package for your Ubuntu version and CPU architecture. # Open a terminal (press simultaneously the ALT and F2 keys and enter: gnome-terminal)
# To add USB support, you need to execute the following code:
# Rebuild the virtualbox kernel modules
# Let the system update all the changes. Please note that "sudo mount -a" will not be enough.
# If you still have trouble, post here the results of the following command:
Last edited by docplastic; January 20th, 2009 at 07:20 AM.. |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Beans: 51
|
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
the command you gave didnt work becuase it popped out the wrong devgid... replaced with the vboxusers # on my system
btw, for newbies, its easier to use System -> Administration -> Users and Groups to manipulate groups to make sure your adding things correctly also not necessary to logout/login, just run this in your terminal or Alt+F2: Code:
sudo mount -a |
|
|
|
|
|
#3 | |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2006
Location: Europe
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
Quote:
But it does not help with the users/groups part. So, for now, logout and login seems to be the best procedure. J. Last edited by docplastic; November 19th, 2008 at 09:33 PM.. |
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2008
Beans: 9
|
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
Doc hit this one out of the park! I had the problem and it fixed it. Thanks soooo much, Doc.
-Randy |
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2008
Location: Florida
Beans: 27
Ubuntu 8.04 Hardy Heron
|
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
I just finished installing Version 2.0.2 and I got Windows running jsut fine.
does this thread support 2.0.2? I tried that command and Windows on Vbox still doesnt recognize the USB |
|
|
|
|
|
#6 |
|
Chocolate Ubuntu Mocha Blend
![]() |
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
Try this..
In terminal type Code:
sudo gedit /etc/init.d/mountdevsubfs.sh # # 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 In terminal type Code:
sudo gedit /etc/fstab ## usbfs is the USB group in fstab file: none /proc/bus/usb usbfs devgid=124,devmode=664 0 0 Might need a reboot. |
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2006
Location: Europe
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
To trestamanos:
Yes. It is also valid for version 2.0x. To howefield and others: I prefer to keep things simple. In the VirtualBox own way, one should edit mountdevsubfs.sh and /etc/fstab. But it seems that just adding the usbfs entry with devgid=plugdev, is simpler and does the job pretty well. Also note that it is risky to assume that plugdev's devgid will always be 124. Last edited by docplastic; September 23rd, 2008 at 05:22 AM.. |
|
|
|
|
|
#8 |
|
Ubuntu Extra Shot
![]() |
Thanks for this HowTo.
Although I'm using Gutsy and installed with the deb from their website and I didn't have USB support. Now I do! Thanks! I can't see the medal icon under docplastic's post. How come?
Anyway, thanks again! I'm the happiest man alive!! |
|
|
|
|
|
#9 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Location: USA
Beans: 179
Ubuntu 9.10 Karmic Koala
|
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
Thanks for the post.
For the record, I had to go into fstab and change the gid from 46 which the command seemed to do automatically to 124. |
|
|
|
|
|
#10 |
|
Ubuntu Extra Shot
![]() |
Re: HowTo: Install Virtualbox 1.6.x with USB support in Ubuntu 8.04 (Hardy)
Mine's 46 and it works.
|
|
|
|
| Bookmarks |
| Tags |
| ubuntu 8.04, virtualbox, virtualbox usb |
| Thread Tools | |
| Display Modes | |
|
|