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

30.421 Comentários

  1. Люди подскажите Близкий человек уже две недели в запое Жена рыдает Скорая не приедет на такой вызов Короче, единственные кто взялся за безнадёжный случай — запой стационар с комфортными условиями Врачи и медсёстры 24/7 В общем, не потеряйте контакты — стационар вывод из запоя https://kapelnicza.vyvod-iz-zapoya-v-stacionare-samara.ru Не ждите пока станет хуже Это может спасти жизнь

  2. Самара, всем привет Близкий человек уже две недели в запое Дети боятся заходить в комнату Скорая не приедет на такой вызов Короче, спасла только госпитализация — вывод из запоя в стационаре с интенсивной терапией Выписали через неделю здоровым В общем, вся инфа по ссылке — вывод из запоя в стационаре вывод из запоя в стационаре Стационар — это единственный выход Это может спасти жизнь

  3. Worth saying that this is one of the better things I have read on the topic in months, and a stop at zenvani reinforced that ranking, the topic is well covered by many sources but few do it with this level of care and the few that do deserve to be flagged so other readers can find them.

  4. Здорова, народ Муж просто умирает на глазах Соседи уже вызвали участкового В диспансер тащить — последнее дело Короче, врачи стационара реально вытащили — капельница от запоя в стационаре круглосуточно Выписали через неделю здоровым В общем, жмите чтобы сохранить — вывод из запоя самарская область https://klinika.vyvod-iz-zapoya-v-stacionare-samara13.ru Звоните прямо сейчас Перешлите тем кто в беде

  5. A piece that did not lecture even when it had clear positions, and a look at discovernewdirections maintained the same teaching without preaching tone, finding the line between informing and lecturing is hard and most sites land on the wrong side of it but this one has clearly figured out how to inform without becoming preachy.

  6. Such writing is increasingly rare and worth supporting through attention, and a stop at clicktoexpandknowledgebase extended that supportive attention across more pages, the conscious choice to spend time on sites that produce careful work rather than convenient consumption is itself a small form of patronage and this site is receiving that conscious patronage from me.

Deixe um comentário

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