Ir ao conteúdo

Ubuntu, VirtualBox 2.2 e USB

Bom dia,

Agora com a nova versão do ubuntu, provavelmente vou postar bastante sobre o mesmo durante está minha etapa de testes e instalações. Não pretendo ensinar como instalar o VirtualBox 2.2, pois como é um pacote .deb é muito simples, simplesmente baixe ele aqui e instale o pacote. Neste post só quero lembrar que devemos selecionar a opção Enable IO APIC em Settings – General – Advanced. (ao menos a minha com winxp não funciona sem essa opção). Então se o seu sistema não estiver inicializando verifique se está opção está selecionada. Agora vamos ao como fazer as portas USB funcionarem na sua maquina virtual.

Para fazer as portas USB funcionarem você deve fazer o seguinte:

Instalar o “Guest additions”, com a maquina virtual rodando acesse Devices – Install Guest additions.

Após instalada a mesma execute no seu terminal:

$ grep vbox /etc/group
O resultado será algo semelhante a isso
vboxusers:x:gid:usuario

(Se não existir nenhum usuario, adicione o seu usuario ao grupo vboxusers)

Edite o arquivo “mountkernfs.sh”
# pico /etc/init.d/mountkernfs.sh

Va até o final do do_start(), e dentro do mesmo (antes do }) adicione a seguinte linha:

domount usbfs “” /proc/bus/usb usbdevfs -onoexec,nosuid,nodev,devgid=GID,devmode=664

(Substitui o GID pelo seu GID que foi visto anteriormente.)

Salve o arquivo, reinicie o computador, e utilize suas usb dentro da maquina virtual.

O site que me fez testar desse modo foi este http://www.davidgrant.ca/virtualbox_usb_windows_xp_guest_ubuntu_hardy mas ele não indicava que era para versão 9.04, então testei e funcionou.

Espero que seja util,
Matheus

PS: Para que a mesma funcione dentro da maquina virtual você deve ir em Device – USB DEVICES e selecionar o dispositivo que você quer que funcione dentro da maquina virtual.

PS2: Para os que andam acompanhando os tempos de boot que estou conseguindo, após a instalação do virtualbox e feitas as configurações acima estou com um tempo de 28s. (Sem tentar otimizar nada até o momento)

English Version

Publicado emAprendendoLinuxSoftware LivreUbuntu

23.176 Comentários

  1. I blog quite often and I seriously appreciate your information. This great article has truly peaked my interest. I’m going to bookmark your site and keep checking for new details about once per week. I opted in for your Feed as well.

  2. Comfortable read, finished it without realising how much time had passed, and a look at bravofarms pulled me into more pages the same way, the absence of friction in good content lets time disappear and that is one of the highest compliments I can pay any piece of writing I find online during a regular search session.

  3. Now wishing I had found this site sooner, and a look at caramelcovecommerceatelier extended that mild regret, the calculation of how many years of good content I missed by not finding the right sources earlier is one I try not to make too often but it does come up sometimes when I find sites this good.

  4. Easily one of the better explanations I have read on the topic, and a stop at dazzquays pushed it even higher in my mental ranking of useful resources, the kind of site that beats the average not by trying harder but by simply caring more about what it puts out daily which always shows.

  5. VernonMom VernonMom

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

  6. Hi there, You’ve performed an excellent job. I will certainly digg it and personally recommend to my friends. I am confident they’ll be benefited from this web site.

  7. Coming to this with low expectations and being pleasantly surprised by the substance, and a stop at dawnbrookmarketfoundry continued exceeding expectations, the recalibration of expectations upward across multiple positive readings is one of the actual rewards of careful browsing and this site is providing that recalibration at a steady rate apparently.

  8. Generally I bookmark sparingly to avoid building up a bookmark graveyard but this one earned a permanent slot, and a stop at gemcoast extended that permanence designation, the few sites I keep permanent bookmarks for are sites I expect to use repeatedly and this one has clearly cleared that expectation bar today.

  9. Gregoryflazy Gregoryflazy

    звоните круглосуточно по телефону горячей линии клиники: наши специалисты готовы оказать необходимую помощь в решении проблемы алкогольной зависимости.
    Узнать больше – наркология вывод из запоя сочи

  10. Nice to see a post that does not try to overcomplicate the basics for the sake of looking smart, and once I looked at nextgenbuyhub the same direct tone was there too, which honestly makes a difference when you are short on time and want answers without long pointless intros.

  11. Bookmark earned and shared the link with one specific person who would care, and a look at nightorchardtradeparlor got the same targeted share, sharing carefully rather than broadcasting is a discipline I try to maintain and this site is generating shares from me at a sustainable rate rather than the spam rate of viral content.

  12. Hello there, You have performed an incredible job. I’ll certainly digg it and for my part recommend to my friends. I’m confident they’ll be benefited from this site.

  13. Came back to this an hour later to reread a specific section, and a quick visit to cloudharbortradehall also drew a second look, content that pulls you back rather than letting you move on permanently is the kind I want to fill my browser bookmarks with in 2026 and beyond as the open internet evolves.

  14. Closed the tab feeling I had spent the time well, and a stop at flarequills extended that feeling across more pages, the test of whether time on a site was well spent is one I apply silently after closing tabs and very few sites pass it but this one passed it cleanly today afternoon clearly.

  15. Most of the time I feel the open web is in decline and then I find a site like this, and a stop at garnetbrookvendorfoundry reinforced that mood lift, the cumulative effect of finding occasional excellent independent content versus the cumulative effect of finding mostly mediocre content is real for the long term reader maintaining web habits today.

  16. Now thinking the topic is more interesting than I had given it credit for, and a stop at crystalcovecommerceatelier continued that elevated interest, content that revives my curiosity about subjects I had set aside is doing genuine work in the structure of my interests and this site is providing that revivifying effect today actually.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *