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.042 Comentários

  1. I am not certain the place you are getting your information, but great topic. I needs to spend some time studying more or working out more. Thanks for wonderful info I was searching for this information for my mission.

  2. I’m not sure exactly why but this web site is loading incredibly slow for me. Is anyone else having this issue or is it a problem on my end? I’ll check back later and see if the problem still exists.

  3. https://bwin-bet.com.co/
    Bwin Bet es un casino en linea y plataforma de apuestas deportivas que opera en Colombia a partir de 2026 , funcionando con la licencia de Coljuegos , ofreciendo una experiencia regulada y segura a los apostadores .

  4. Good day! This post couldn’t be written any better! Reading through this post reminds me of my previous room mate! He always kept chatting about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!

  5. You need to be a part of a contest for one of the finest websites on the web. I most certainly will recommend this website!

  6. Fobertnar Fobertnar

    OneConverter is a comprehensive website where users can perform almost any type of conversion from one unit to another within one convenient interface. Length, weight, volume, and many other units can be converted by following three simple steps: choose a converter category, input a number, and receive the desired result right away. The user interface is minimalistic and extremely user-friendly, meaning that there are no applications to install since everything works right in the web browser. In addition to such categories as temperature and area. OneConverter offers converters for speed, power, and energy. Currency conversion can be achieved by selecting a specific pair of currencies and entering an amount. Moreover, one can find time zone converters as well as a tool that helps calculate time differences between two locations. It is not necessary to browse complicated navigation to perform a particular task since OneConverter is focused on simplicity, offering users a set of converters for different needs right away. This website will be especially useful for students, engineers who need to confirm their specifications, and even travelers. The formula and rates will be updated automatically, which can contribute to improving accuracy.
    OneConverter

Deixe um comentário

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