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

18.971 Comentários

  1. Started reading expecting to disagree and ended mostly nodding along, and a look at pinecrestmodern continued the pattern, content that wins agreement through evidence and reasoning rather than rhetorical force is the kind that actually shifts minds and this site clearly knows how to do that across what I have read so far.

  2. Solid post, the structure is easy to follow and the language stays simple even when the topic gets a bit more involved, and a look at globalshoppingzone kept that same standard going, so I left feeling like the time spent here was actually worth something for once which is rare lately.

  3. Geraldfaf Geraldfaf

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

  4. Liked that there was nothing performative about the writing, and a stop at sunnyslopefinds continued that genuine quality, performative writing tries to be witnessed rather than read and the difference between performance and substance is huge for the careful reader and this site has clearly chosen substance every time clearly.

  5. Reading more of the archives is now on my plan for the weekend, and a stop at flicklegend confirmed the archive worth the time, the rare archive worth a dedicated reading session rather than just casual sampling is the rare archive of serious work and this site has clearly produced enough of that work to warrant the deeper exploration.

  6. Pleasant surprise, the post delivered more than the headline promised, and a stop at wildtreasurestore continued that pattern of under promising and over delivering, the rarest combination on the modern web where most content does the opposite by promising the world and delivering thin recycled summaries instead each time you click on something interesting.

  7. Picked this up while looking for something else and ended up reading every paragraph because it was actually informative, and after grippalace I was sure I would come back, that does not happen often when most sites bury the useful parts under endless ads and pop ups today and across most categories online.

  8. Probably worth setting aside a longer block to read more carefully than I can right now, and a stop at primfactor confirmed the longer block plan, the impulse to schedule dedicated time for a sites archive is itself a measure of trust and this site has earned that scheduling impulse from me clearly today actually.

  9. Felt the post had been written without looking over its shoulder, and a look at knackaltar continued that confident posture, content written for its own sake rather than against imagined critics has a different quality and this site reads as written from a place of confidence rather than defensive justification of every claim.

  10. Now feeling the rare pleasure of trusting a source completely on first encounter, and a look at slowlivingessentials extended that initial trust into something more durable, the calibration of trust to evidence is something I do informally and this site has earned high trust through the cumulative weight of multiple consistently good posts already.

  11. DavidTip DavidTip

    в таких случаях вызов нарколога на дом предоставляет возможность оценить состояние пациента и предложить амбулаторное лечение.
    Подробнее тут – нарколог на дом

  12. Decided to subscribe to the RSS feed if there is one, and a stop at urbanwildgrove confirmed that decision, content that I want delivered to me proactively rather than just remembered when I have time is content that has earned a higher level of commitment from me as a reader looking for reliable sources.

  13. Once you start reading carefully here it is hard to go back to lower quality alternatives, and a stop at trendypickshub reinforced that ratchet effect, the way good content raises standards is real over time and this site has clearly contributed to raising my expectations for what is possible in writing on the topic generally.

  14. Now feeling the rare pleasure of trusting a source completely on first encounter, and a look at goldfielddesigns extended that initial trust into something more durable, the calibration of trust to evidence is something I do informally and this site has earned high trust through the cumulative weight of multiple consistently good posts already.

  15. Took my time with this rather than rushing because the writing rewards attention, and after draftglade I had even more to absorb, the kind of content that pays back the patient reader rather than punishing them with empty filler is something I look for and rarely find in regular searches lately.

Deixe um comentário

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