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

  1. RobertMep RobertMep

    Судороги возникают из-за резкого исчезновения алкоголя как депрессанта при одновременном возбуждении нейрональных цепей. Без быстрого медицинского вмешательства возможен гипоксический инсульт.
    Подробнее – http://vivod-iz-zapoya-chelyabinsk13.ru

  2. My friends would appreciate a few of these posts and I will be sending links accordingly, and a look at startyourgrowthpath added more pages to my share queue, content that earns shares to specific people in specific contexts is content with social utility and this site is generating those targeted shares from me consistently lately.

  3. A piece that did not lecture even when it had clear positions, and a look at seoloom 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.

  4. JavierMak JavierMak

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

  5. http://codeble.de/
    Codeble praesentiert sich als ein spezialisierte Agentur fokussiert auf die deutsche Wirtschaftslandschaft, das ermoeglicht ganzheitliche Ansaetze fuer Unternehmen und Privatpersonen, wertschaetzend auf Servicequalitaet. Besuchen Sie die Website auf dieser Seite.

  6. http://codeble.de/
    Codeble etabliert sich als ein spezialisierte Agentur spezialisiert auf den nationalen Rahmen Deutschlands, das ermoeglicht ganzheitliche Ansaetze fuer alle die Effizienz schaetzen, wertschaetzend auf Servicequalitaet. Mehr Informationen hier.

  7. Reading this in three sittings because the day was fragmented, and the piece survived the fragmentation, and a stop at discovergrowthdirectionpaths held up under similar reading conditions, content engineered for continuous attention is fragile in modern conditions and this site reads as durable across the realistic ways people consume content today.

  8. Goodinidat Goodinidat

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

  9. StevenSak StevenSak

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

  10. Reading this on a difficult day was a small bright spot, and a stop at createforwardsteps extended that brightness, content that improves a hard day is content that has earned a particular kind of place in my reading habits and this site is occupying that uplifting role for me today which I appreciate clearly.

  11. Thanks for laying this out in a way that someone newer to the topic can follow, and a stop at buildsmartdirectionalplans kept that accessibility going, writing that meets readers at different experience levels without condescending is hard to do well and the writers here have clearly thought about who they are writing for.

Deixe um comentário

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