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

17.311 Comentários

  1. OrvalCen OrvalCen

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

  2. Honestly thank you to whoever wrote this because it scratched an itch I had not quite been able to articulate, and a stop at seofuel kept that satisfying feeling going, the kind of writing that meets unspoken needs is special and this site clearly has writers who understand their readers more than most do today.

  3. JerrySon JerrySon

    Такой подход позволяет наркологической клинике в Краснодаре выстраивать лечение в профессиональной и психологически безопасной среде.
    Исследовать вопрос подробнее – narcologicheskaya-klinika-v-krd19.ru/

  4. Now recognising the specific pleasure of reading writing that shows real care for sentence shapes, and a look at linktrail extended that craft pleasure, sentence level writing quality is something most blog content ignores entirely and this site has clearly invested in the prose layer alongside the substance which is rare today.

  5. windcrestcollective windcrestcollective

    Thanks for a post that does not try to be funny when it is not the moment for it, and a stop at windcrestcollective maintained the same appropriate seriousness, knowing when humour helps and when it just signals desperation for engagement is a sign of editorial maturity that many blogs have not developed yet.

  6. prismoakcollective prismoakcollective

    Decided not to skim despite my usual habit and was rewarded for the discipline, and a stop at prismoakcollective earned the same patient approach, training myself to recognise sites that warrant slower reading is part of being a careful online reader and this site is the kind that helps me practice that skill regularly.

Deixe um comentário

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