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

21.772 Comentários

  1. Useful read, especially because the writer did not assume too much background from the reader, and a quick look at createclaritydrivengrowth continued in the same way, a thoughtful site that meets people where they are which is something the modern web could use a lot more of for both casual and serious readers.

  2. DavidToomo DavidToomo

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

  3. Liked the post enough to read it twice and the second read found new things, and a stop at learnandacceleratesuccess similarly rewarded the second look, content with hidden depths that only reveal themselves on careful rereading is the rare kind that earns lasting respect rather than fleeting first impressions only briefly held.

  4. DavidToomo DavidToomo

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

  5. RichardHoT RichardHoT

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

  6. Genuinely useful read, the points are practical and easy to apply right away, and a quick look at growintentionallynow confirmed that this site is consistent in that approach, looking forward to digging through the rest of it when I get the chance to sit down properly later in the week or this weekend.

  7. Thanks for keeping things clear and to the point, that is honestly hard to find online these days, and after reading through findyournextbreakpoint the message stayed consistent which makes me trust the information being shared more than I usually do on similar pages that cover this same kind of topic.

  8. A piece that handled the topic with appropriate weight without becoming portentous, and a look at discovernewdirectionpaths continued that calibrated seriousness, content that takes itself seriously without becoming pompous is something this site has clearly figured out and the balance shows up in every piece I have read across multiple sessions now.

  9. DouglasZEx DouglasZEx

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

  10. Worth saying that the quiet confidence of the writing is what landed first, and a look at learnandoptimizepath continued that quiet quality, confident writing without the loud display of confidence is a rare combination and this site has clearly developed both the knowledge and the editorial restraint to land that combination consistently.

  11. DavidToomo DavidToomo

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

  12. Honestly enjoyed reading this more than I expected to when I first clicked through, and a stop at findgrowthsolutionsnow kept that pleasant surprise going, sometimes you stumble onto a site that just clicks with how you like to read and this is one of those for me right now today which is great.

  13. Reading this in the morning set a good tone for the day, and a quick visit to itobout kept that good tone going, content can do that sometimes when it hits the right notes and finding sites that consistently strike that tone is something I have learned to recognise and reward with regular visits.

  14. Now I want to find more sites like this but I suspect they are rare, and a look at discovernewangles extended that thought, the few sites that meet this quality bar are precious specifically because they are rare and finding others like them is one of the ongoing projects of careful internet curation across the years.

  15. Felt slightly impressed without being able to point to one specific reason, and a look at buildsustainabledirection continued that diffuse positive feeling, when content works at a level you cannot easily articulate the writer is doing something with craft rather than just delivering information and that is something I have learned to recognise.

  16. Picked up several practical tips that I plan to try out this week, and a look at learnandadvancegrowth added a few more I will be testing alongside, content with practical hooks that connect to my actual life is the kind that earns my repeat attention rather than the merely interesting that I forget within a day.

Deixe um comentário

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