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.127 Comentários

  1. Got pulled in by the headline and stayed because the content actually delivered on the promise, and a stop at freshcarthub kept that trust intact, when a site lives up to its own framing it earns the right to keep showing up in my browser tabs going forward indefinitely from here on out really.

  2. Now adding this site to a small mental group of recommendations I keep ready for specific kinds of inquiries, and a stop at wheatcoveartisanexchange extended the recommendation readiness, content that I can confidently point friends and colleagues toward in specific contexts is content with real social utility and this site has that utility clearly.

  3. Took longer than expected to finish because I kept stopping to think, and a stop at chestnutharbortradeparlor did the same to me, content that provokes thought rather than just delivering information is in a different category and the team here is clearly working at that higher level rather than just cranking out posts.

  4. Granted I am giving this site more credit than I usually give new finds, and a look at trailharbormerchantgallery continued earning that credit, the calibration of how much trust to extend after limited exposure is something I do carefully and this site has earned more trust on shorter exposure than most due to consistent quality across.

  5. Знаете, ситуация — человек в запое , а что делать — просто руки опускаются. Я сам через это прошел недавно. Сначала кажется, что обойдется , но нет . Требуется профессиональная медицина. Перерыл весь интернет — сплошной развод . А потом наткнулся на один нормальный вариант. Если ищешь где получить анонимное лечение алкоголиков — не рискуй здоровьем близкого. У нас в Воронеже, если честно, тоже полно левых контор без лицензии. Реальные контакты ниже по ссылке: анонимное лечение от алкоголизма https://narkologicheskaya-pomoshh-voronezh-12.ru Откровенно говоря, после того как ознакомился, понял свои ошибки. И про кодирование, и про реабилитацию . И цены адекватные. Рекомендую не тянуть .

  6. Solid quality, the kind of work that holds up to a careful read rather than a quick skim, and a quick look at frostcoast kept that standard going strong, content that rewards attention rather than punishing it is something I appreciate more and more these days online across nearly every topic I follow.

  7. Thanks for treating the topic with the seriousness it deserves without becoming pompous about it, and a stop at tealcoveartisanexchange continued that balanced treatment, the gap between earnest and self serious is huge and writers who can stay on the right side of it earn my respect when I find them online today.

  8. Now adjusting my mental list of reliable sites for this topic, and a stop at futuregoodszone reinforced the adjustment, the small ongoing curation work of maintaining trusted sources is one of the actual practical activities of careful reading and this site has earned a permanent place on my list for this particular subject.

  9. Reading this triggered a small reorganisation of my own thinking on the topic, and a stop at solarorchardcraftcollective furthered that reorganisation, content that affects the shape of my mental model rather than just decorating it with new facts is content with structural rather than informational impact and this site provides that.

  10. A genuine compliment to the writer for keeping the post focused on what mattered, and a look at trailharbormerchantgallery continued that disciplined focus, focus is a editorial choice that compounds across many small decisions and this site has clearly made those small decisions consistently across what I have read so far this week here.

  11. Found this through a search that was generic enough I did not expect quality results, and a look at discovernewfocus continued the surprisingly good experience, search engines occasionally still surface excellent independent content if you scroll past the obvious paid and high authority results which is reassuring to remember sometimes.

Deixe um comentário

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