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

19.664 Comentários

  1. DichaelTiemi DichaelTiemi

    There are a lot of different ways to approach this kind of topic, but the direction you chose to take makes the information feel very accessible, which is something I always look for when browsing through articles online.

    Bet Way

  2. Now saved this in a way that I will actually find again rather than the casual bookmark approach, and a stop at zestvendor earned the same careful saving, organising my reading bookmarks so that high quality sources rise to the top is something I should do more of and this site triggered that organisation today.

  3. Melvinrip Melvinrip

    В этой статье мы рассматриваем разные способы борьбы с алкогольной зависимостью. Обсуждаются методы лечения, программы реабилитации и советы для поддержки близких. Читатели получат информацию о том, как преодолеть зависимость и добиться успешного выздоровления.
    Раскрыть тему полностью – сексолог брянск

  4. Felt the writer respected the topic without being precious about it, and a look at saucierstudio continued that respectful but unfussy treatment, finding the right register for serious topics is hard and this site has clearly figured out how to take the topic seriously while still being readable for casual visitors regularly.

  5. Richardjah Richardjah

    В этой статье рассматриваются актуальные вопросы, связанные с развитием медицинской науки и её внедрением в повседневную практику. Особое внимание уделено вопросам профилактики, ранней диагностики и использованию технологий для улучшения здоровья человека.
    Подробная информация доступна по запросу – вывод из запоя на дому в краснодаре

  6. Henryeffip Henryeffip

    В данной статье мы поговорим о будущем медицины, акцентируя внимание на прорывных разработках и их потенциале. Читатель узнает о новых подходах к лечению, роли искусственного интеллекта и возможностях персонализированной медицины.
    Как достичь результата? – кодировка от алкоголя в волгограде адреса

  7. Worth recognising that the post handled a familiar topic without reaching for any of the obvious hot takes, and a stop at consciousconsumerhub continued that fresh treatment, sites that find new angles on subjects others have exhausted are sites worth following carefully and this one has clearly developed that exploratory instinct through patient practice.

  8. Antonional Antonional

    Текст посвящён распространённым мифам о зависимости и их развенчанию. Мы предоставим научно обоснованную информацию и дадим рекомендации по выбору эффективного способа борьбы с зависимым поведением.
    Что ещё нужно знать? – нарколог на дом цены

  9. I learned more from this short post than from longer articles I read earlier today, and a stop at timelessdesignsandgoods added even more useful detail without going off topic, this site clearly knows how to keep things focused without sacrificing depth which is a hard balance to strike for any writer.

  10. Following the post through to the end without my attention drifting once, and a look at ariabee earned the same uninterrupted attention, content that holds attention without manipulating it is content with substantive pull and this site has demonstrated that substantive pull across multiple pieces in a single reading session reliably here today.

  11. Appreciate how nothing here feels copied or pieced together from other places, the voice is consistent and the tone stays human, and after I checked balticarrow I noticed the same style holds, which is a small detail but it makes the whole experience feel personal rather than like another generic site.

  12. HubertToorp HubertToorp

    В этой статье мы обсудим процесс восстановления после зависимостей, акцентируя внимание на различных методах и подходах к реабилитации. Читатели узнают, как создать план выздоровления и использовать полезные ресурсы для достижения устойчивых изменений.
    Продолжить изучение – наркологическая клиника в люберцах

  13. Found a couple of useful angles in here I had not considered before reading carefully, and a quick stop at artfulhomeessentials added more, this is one of those sites where the value compounds the more you read rather than peaking at one viral post and then offering nothing else of substance afterwards which is common.

Deixe um comentário

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