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

24,071 Comments

  1. Wow that was odd. I just wrote an extremely long comment but after I clicked submit my comment didn’t show up. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say fantastic blog!

  2. Anthonypal Anthonypal

    Этот обзор посвящен успешным стратегиям избавления от зависимости, включая реальные примеры и советы. Мы разоблачим мифы и предоставим читателям достоверную информацию о различных подходах. Получите опыт многообразия методов и найдите подходящий способ для себя!
    Связаться за уточнением – клиника плюс курск

  3. Swear I’ve seen every scam in the book by now. You find a killer listing online: sleek Audi, convertible, price almost too good to be true. Different car sitting there — bald tires, dashboard lit up like a Christmas tree, and that “killer price”? Yeah doesn’t include the non-negotiable $45 daily insurance or the $500 deposit they forget to mention. Nine years in South Florida and these clowns still nearly fool me. those guys are pros at the bait-and-switch. Miami without proper wheels is basically a nightmare. leather seats that don’t glue to your skin in August. most are polished turds with fake five-star reviews. Finally found one company that doesn’t play stupid games. Here’s the only trustworthy source for premium rides across South Florida
    car rentals in miami https://luxury-car-rental-miami-9.com Yeah parking in Wynwood will cost you a nice dinner — but that’s the price of being in Miami. Anyway glad there’s at least one honest operator left in this rental jungle.

  4. This filled in a gap in my understanding that I had not even noticed was there, and a stop at fescueimpala did the same, the kind of post that gives you more than you expected when you first clicked through from somewhere else, a real find for anyone curious about the area covered here.

  5. Right now it seems like Drupal is the best blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?

Leave a Reply

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