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

21,506 Comments

  1. Felt like I was reading something written by someone who actually thinks about the topic rather than reciting it, and a look at growresultsdrivenpath reinforced that impression, the difference between recited content and considered content is huge and this site clearly belongs to the latter category which I appreciate as a careful reader looking for substance.

  2. Found this through a friend who recommended it and now I see why, and a look at learnandgrowfaster only strengthened that recommendation in my own mind, word of mouth still works for content that actually delivers and this site is clearly earning recommendations the old fashioned way through quality rather than marketing.

  3. A particular kind of restraint shows up in the writing, and a look at buildstrongmomentum maintained the same restraint across pages, knowing what not to say is just as important as knowing what to say and this site has clearly developed strong instincts on both sides of that editorial line throughout pieces I have read.

  4. JamesGaf JamesGaf

    В этой статье мы рассматриваем разрушительное влияние зависимости на жизнь человека. Обсуждаются аспекты, такие как здоровье, отношения и профессиональные достижения. Читатели узнают о необходимости обращения за помощью и о путях к восстановлению.
    Нажмите, чтобы узнать больше – капельница на дому екатеринбург

  5. Saving the link for sure, this one is a keeper, and a look at findclearopportunities confirmed I should bookmark the entire site rather than just this page, the consistency across what I have seen so far suggests there is a lot more here worth coming back for soon when I have more time.

  6. A piece that reads like it was written for me without claiming to be written for me, and a look at ilonox produced the same fit, when the writer audience match clicks naturally without being engineered through demographic targeting you know the writing is solid and this site has that natural fit consistently for me.

Leave a Reply

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