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

10.432 Comentários

  1. There’s certainly a lot to find out about this topic.
    I really like all of the points you’ve made.

    Review my web-site; casino affiliate programs india [Santos]

  2. Hi there! I could have sworn I’ve visited your blog before but after browsing through a few of the
    articles I realized it’s new to me. Anyhow, I’m certainly delighted I came across it and I’ll be bookmarking it and checking back frequently!

    Also visit my web site sample Roulette

  3. This is really interesting, You’re a very skilled blogger.
    I have joined your feed and look forward to seeking more of your fantastic
    post. Also, I’ve shared your web site in my social networks!

    My blog: african palace casino download (Sang)

  4. Woah! I’m really loving the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s difficult to
    get that “perfect balance” between user friendliness and visual appearance.
    I must say that you’ve done a very good job with this. In addition, the blog loads very quick for me on Internet explorer.
    Outstanding Blog!

    my page :: net casino 24 club (Bebe)

  5. I’ve been surfing online more than three hours lately, but I never found any fascinating article like yours. It’s pretty price enough for me. Personally, if all web owners and bloggers made excellent content material as you did, the internet shall be much more helpful than ever before.

  6. ShaneCitty ShaneCitty

    This is really attention-grabbing, You are an excessively professional blogger. I have joined your feed and look ahead to looking for more of your great post. Additionally, I have shared your web site in my social networks
    Paris sportif cryptomonnaies

  7. You can certainly see your enthusiasm within the work you write. The arena hopes for more passionate writers like you who are not afraid to mention how they believe. All the time follow your heart.

  8. EarnestCot EarnestCot

    Hi there, yes this piece of writing is in fact pleasant and I have learned lot of things from it regarding blogging. thanks.
    Tower Rush Jeu

Deixe um comentário

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