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

14.081 Comentários

  1. It’s a shame you don’t have a donate button! I’d without a doubt
    donate to this fantastic blog! I guess for now i’ll settle for bookmarking
    and adding your RSS feed to my Google account.
    I look forward to fresh updates and will talk about this blog with my Facebook
    group. Talk soon!

    Also visit my site :: belize gambling license (Felicitas)

  2. Мы попробовали играть в джет x вдвоем и поняли, что это отличный способ посоревноваться с друзьями.

  3. We are a group of volunteers and starting a new scheme in our community. Your website provided us with useful info to work on. You’ve performed an impressive activity and our whole community might be grateful to you.

  4. I read this article fully concerning the difference of latest and preceding technologies,
    it’s remarkable article.

    Here is my homepage :: what games give real money (Denisha)

  5. Excellent items from you, man. I have understand your stuff previous to and you’re just too great.
    I actually like what you’ve received right here,
    really like what you’re stating and the way wherein you are saying it.
    You make it enjoyable and you continue to take care of to keep it sensible.
    I cant wait to learn much more from you. This is really a terrific web site.

    Feel free to surf to my blog :: biloxi ip casino daughtry (Ilse)

  6. I’m gone to say to my little brother, that he should also visit this blog on regular basis to
    take updated from hottest information.

    my webpage; what is the maximum bet for roulette in vegas (Tilly)

  7. casino winnings tax free in united states, new zealandn roulette
    free online game and no deposit bonus casinos real money (Frieda) deposit free bonus spins usa aug, 28,2021, or usa casino
    rewards

Deixe um comentário

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