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

  1. Здорова, народ Муж просто умирает на глазах Дети боятся заходить в комнату Платная клиника просит бешеные деньги Короче, врачи стационара реально вытащили — вывод из запоя стационарно с психологом Выписали через неделю здоровым В общем, вся инфа по ссылке — выход из запоя в стационаре выход из запоя в стационаре Не ждите пока станет хуже Это может спасти жизнь

  2. Found something new in here that I had not seen explained this way before, and a quick stop at fastbuyingoutlet expanded the idea even further, the kind of writing that nudges your thinking forward a bit without forcing the issue is exactly what I look for online today and rarely actually find anywhere.

  3. Люди помогите советом Близкий человек уже 10 дней в запое Дети боятся заходить в комнату В диспансер тащить — последнее дело Короче, врачи стационара реально вытащили — капельница от запоя в стационаре круглосуточно Провели полную детоксикацию В общем, не потеряйте контакты — вывод из запоя в стационаре вывод из запоя в стационаре Не ждите пока станет хуже Перешлите тем кто в беде

  4. Reading this gave me a small framework I expect to use going forward, and a stop at sustainablebusinesspartnerships extended that framework, content that produces transferable mental models rather than just specific facts is content with multiplicative value and this site is providing those models at a rate that justifies extra attention from me regularly.

  5. Слушайте кто кухню недавно заказывал Фурнитуру ставят дешманскую То сроки по полгода Короче, нашел наконец нормальное производство — кухни спб на заказ с фурнитурой Blum Цены ниже рынка В общем, жмите чтобы не потерять — кухня на заказ спб от производителя недорого кухня на заказ спб от производителя недорого Не ведитесь на салоны-прокладки Сам мучался теперь делюсь

  6. However measured this site clears the bar I set for sites I take seriously, and a stop at trustedcorporateconnections continued clearing that bar, the metrics I use for site quality are admittedly informal but they are consistent and this site has cleared them on multiple measurements across multiple visits which is meaningful for my evaluation.

  7. Now planning to come back when I have the right kind of attention to read carefully, and a stop at globalbusinessrelationshiphub reinforced that plan, choosing the right moment to read certain content is a quiet form of respect for the work and this site is generating those careful planning behaviours from me consistently as a reader.

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

  9. A genuine compliment to the writer for keeping the post focused on what mattered, and a look at globalenterprisebonds continued that disciplined focus, focus is a editorial choice that compounds across many small decisions and this site has clearly made those small decisions consistently across what I have read so far this week here.

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

Deixe um comentário

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