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

15,258 Comments

  1. Hello there! I just wish to give you a big thumbs up for the great information you have here on this post.
    I will be coming back to your blog for more soon.

    Visit my web site :: basketball wett tipps heute (Leonora)

  2. Jerrymag Jerrymag

    В данной обзорной статье представлены интригующие факты, которые не оставят вас равнодушными. Мы критикуем и анализируем события, которые изменили наше восприятие мира. Узнайте, что стоит за новыми открытиями и как они могут изменить ваше восприятие реальности.
    Ознакомиться с отчётом – вывод из запоя с выездом

  3. VincentIsolo VincentIsolo

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

  4. LannyCourl LannyCourl

    Такие состояния требуют не только лечения, но и наблюдения, поскольку динамика может меняться в течение короткого времени. Стационар позволяет минимизировать риски и обеспечить безопасность пациента. При этом услуга может предоставляться анонимно, а цена лечения зависит от состояния пациента.
    Подробнее можно узнать тут – вывод из запоя в стационаре нижний новгород

  5. Williamabimi Williamabimi

    В статье представлены ключевые моменты по актуальной теме, дополненные советами экспертов и ссылками на дополнительные ресурсы. Цель материала — дать читателю инструменты для самостоятельного развития и принятия осознанных решений.
    Осуществить глубокий анализ – “”вывод из запоя на халтурина – лечение алкоголизма, лечение наркомании

Leave a Reply

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