Skip to content

Ubuntu, VirtualBox 2.2 and USB

Hello,

Now, with this new version of ubuntu, i will post alot about it while I’m trying configurations. I don’t want to teach how to install VirtualBox 2.2, because it’s a package .deb and is so easy to install it (Download Sun VirtualBox). In this post I want to remember that we should select the option “Enable IO APIC” in “Settings – General – Advanced”. (My version of WinXp doesn’t work without it). So if you system is not booting, verify this option. Now let’s go to enable USB in your Virtual machine.

You have to install “Guest Additions”, use the menu “Devices – Install Guest Additions”. (Don’t forget to mount it on your cd in virtualbox)

After you install it go to console:

$ grep vbox /etc/group
The result is something similar to this: vboxusers:x:gid:user

(If your user is not there, add it “System – Administration – Users and groups”)

Edit the file “mountkernfs.sh”:
$ sudo pico /etc/init.d/mountkernfs.sh

Go to the end of do_start(), and before the } add this line:
domount usbfs “” /proc/bus/usb usbdevfs -onoexec,nosuid,nodev,devgid=GID,devmode=644

(Replace the GID with your GID)

Save the file, reboot the computer and use your usb in your virtualmachine.

The site that make me try this way is http://www.davidgrant.ca/virtualbox_usb_windows_xp_guest_ubuntu_hardy. This website don’t says it works on Ubuntu 9.04 (Jaunty), so i tried and it worked.

I hope this is useful,
Matheus

PS: You have to select the device you want to use in virtual machine in “Device – USB DEVICES”

Published inAprendendoLinuxSoftware LivreUbuntu

20,205 Comments

  1. Now adjusting my mental list of reliable sites for this topic, and a stop at seotrail reinforced the adjustment, the small ongoing curation work of maintaining trusted sources is one of the actual practical activities of careful reading and this site has earned a permanent place on my list for this particular subject.

  2. During a quiet evening reading session this provided just the right depth without being heavy, and a stop at mutelion maintained the same evening appropriate weight, content with depth that does not exhaust the reader is content with editorial calibration and this site has clearly figured out how to be substantial without being demanding all the time.

  3. http://aixweb.fr/
    L’equipe Aixweb se presente comme une agence specialisee implantee sur le marche francais, qui propose une approche complete aux entreprises et particuliers, en se distinguant par sur l’excellence du service. Plus d’informations ici.

  4. http://aixweb.fr/
    La societe Aixweb est une structure experimentee dediee au le cadre national francais, qui delivre une approche complete aux entreprises et particuliers, en valorisant sur l’excellence du service. Plus d’informations sur cette page.

  5. http://aixweb.fr/
    L’equipe Aixweb s’impose comme une equipe de confiance dediee au le marche francais, qui apporte une approche complete aux entreprises et particuliers, en priorisant sur l’attention personnalisee. Plus d’informations via le lien.

Leave a Reply

Your email address will not be published. Required fields are marked *