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

31,562 Comments

  1. Now organising my browser bookmarks to give this site easier access, and a look at cavarounion earned the same organisational priority, the small acts of digital housekeeping I do for sites I expect to use often are themselves a measure of trust and this site has triggered the trust based housekeeping behaviour from me clearly.

  2. Alfredaddig Alfredaddig

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

  3. Самара, всем привет Брат снова сорвался Дети напуганы Таблетки не помогают Короче, врачи приехали и поставили систему — снятие интоксикации на дому быстро Через пару часов человек пришёл в себя В общем, телефон и цены тут — выведение из запоя на дому анонимно https://kapelnicza.vyvod-iz-zapoya-na-domu-samara.ru Звоните прямо сейчас Перешлите тем кто в такой же ситуации

Leave a Reply

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