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

29.503 Comentários

  1. يقدم 888starz للاعبي مصر منصة رسمية واحدة تحتضن الكازينو والرهانات الرياضية جنبًا إلى جنب.

    يتيح الموقع أكثر من مئتين وخمسين طاولة روليت وبلاك جاك مباشرة في أي وقت.

    يوفر 888starz خطوطًا واسعة تشمل البطولات الأوروبية والدوريات المحلية.

    يمنح الكازينو اللاعبين الجدد مكافأة ترحيب حتى 1500 يورو مع 150 لفة مجانية.

    يعمل الدعم على مدار الساعة عبر الدردشة والبريد، مع تطبيق apk لأندرويد ونسخة iOS.

    888starz 888starz

  2. Stephenweish Stephenweish

    основанием для вызова специалиста является неспособность человека самостоятельно выйти из состояния непрерывного употребления алкоголя и наличие признаков абстиненции.
    Изучить вопрос глубже – вывод из запоя на дому цена в сочи

  3. Привет из Черноземья Голова раскалывается Рассол уже не лезет Короче, нашел реально работающий способ — капельница от похмелья быстрый результат Вернулся к жизни В общем, жмите чтобы сохранить — капельница от запоя на дому цена капельница от запоя на дому цена Звоните прямо сейчас Перешлите тем кто в такой же ситуации

  4. MarcusReazy MarcusReazy

    Сейчас выездной формат выбирают семьи, которым нужно обратиться за помощью быстро, анонимно и без длительного ожидания в клинике. Балашиха относится к московской области, поэтому выезд может выполняться не только по центральным районам города, но и по ближайшим направлениям, если адрес находится в зоне работы бригады. На сайте обычно указываются контакты, карта, цены, отзывы, документы, сведения о лицензии, режим работы, информация о специалистах и форма заявки, через которую можно заказать звонок или попросить, чтобы консультант перезвоним в удобное время.
    Получить дополнительные сведения – narkolog-na-dom-vyvod

  5. Quietly the post solved something I had been turning over without quite knowing how to phrase the question, and a look at forwardthinkinghub extended that quiet solving, content that addresses unformulated needs is content with reader insight and this site has demonstrated that insight at a high rate across the pieces I have read recently.

  6. High quality writing, no marketing speak and no buzzwords that mean nothing, and a stop at nobletrustnetwork kept that going, simple direct content that actually communicates something is harder to find than it should be and this is one of the rare places that gets it right consistently across many different posts.

  7. Came away with some new perspectives I had not considered before, and after ideaflowpath those ideas felt more complete, the kind of content that stays with you a little while after reading rather than slipping out the moment you switch tabs and move on with your day to whatever comes next.

  8. Now noticing that the post did not mention the writer at all, focus stayed on the topic, and a look at directionalplanninglab continued that author absent quality, content that disappears the writer to focus on the substance is a particular kind of generosity and this site has clearly chosen the substance over the personality consistently.

  9. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

  10. Worth recommending broadly to anyone who reads on the topic, and a look at growthactivator only confirms that, the rare combination of accessibility and depth in this site makes it suitable for both newcomers and people who already know the area which is hard to pull off in any blog format today and rarely managed.

  11. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

Deixe um comentário

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