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

29,863 Comments

  1. Now wishing more sites covered topics with this level of care, and a look at clicktofindsolutions extended that wish across more subjects, the rarity of careful coverage on most topics is a problem and this site is one of the small antidotes to that broader pattern of casual or surface treatment of complex subjects.

  2. Philiproace Philiproace

    Принимаем заявки круглосуточно, уточняем состояние и подбираем безопасный формат помощи.
    Исследовать вопрос подробнее – srochnyy-vyvod-iz-zapoya-moskva

  3. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

  4. Philiproace Philiproace

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

Leave a Reply

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