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

6.557 Comentários

  1. Хватит красить дом каждый год! Купите сайдинг в Молодечно kupit-sayding.ru. Раз и навсегда решите вопрос с фасадом. Экономия времени и денег.

  2. I’ve been exploring for a little bit for any high quality articles or weblog posts on this sort of space .

    Exploring in Yahoo I at last stumbled upon this site.
    Studying this info So i am glad to exhibit that I have a very just
    right uncanny feeling I found out exactly what I needed. I such a lot surely
    will make sure to do not forget this web site and
    give it a glance on a continuing basis.

    Feel free to surf to my web blog :: kickapoo casino free play;
    Katrin,

  3. Its like you read my thoughts! You seem to understand so
    much about this, like you wrote the book in it
    or something. I think that you can do with a few p.c.
    to force the message house a bit, but other than that, that is
    fantastic blog. An excellent read. I’ll certainly be back.

    my page … rock n cash casino app [Keith]

  4. Heya i am for the primary time here. I found this board
    and I to find It truly useful & it helped me out a lot.
    I’m hoping to present one thing back and aid others such as you aided me.

    Also visit my site … homepage

  5. I have been browsing online more than 3 hours today, yet I never
    found any interesting article like yours. It’s pretty worth enough for me.
    Personally, if all webmasters and bloggers made good content as
    you did, the web will be much more useful than ever before.

    Visit my web-site … casino biloxi open

  6. Aaronknoli Aaronknoli

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

Deixe um comentário

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