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

31.390 Comentários

  1. EarnestCot EarnestCot

    The overall structure and pacing of this post make it very enjoyable to read, because the discussion stays organized, fair, and interesting while still feeling easy to understand for different readers online.

    bizar

  2. Aw, this was an exceptionally good post. Finding the time and actual effort to produce a superb article… but what can I say… I hesitate a lot and don’t seem to get nearly anything done.

  3. Closed the tab with a small sense of finality rather than the usual rushed exit, and a stop at pearlcovemerchantgallery produced the same considered closing, when reading ends with deliberate satisfaction rather than impatient skip you know the time was well spent and this site is producing those satisfying endings consistently across what I read.

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

  5. WilliamApags WilliamApags

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

  6. Robertstilt Robertstilt

    Everything for Minecraft https://topminecraftworldseeds.com in one place: mods, skins, maps, texture packs, and the best seeds for survival, creativity, and adventure. Collections of popular add-ons, installation instructions, updates, and secure downloads for different versions of the game.

Deixe um comentário

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