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

27.367 Comentários

  1. true fortune casino true fortune casino
    True Fortune Casino aims to deliver a complete online gaming experience for players in the UK and beyond.

    The game library features a large selection of online slots from established software providers.

    Signing up can unlock a welcome package designed to boost the starting balance.

    The cashier offers flexible banking choices to suit different preferences.

    The platform is intended for players of legal age and encourages responsible gaming.

  2. Donaldhef Donaldhef

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

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

  4. Worth saying that the quiet confidence of the writing is what landed first, and a look at amplebench 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.

  5. true fortune casino true fortune casino
    True Fortune Casino brings together casino games, bonuses and flexible banking on a single platform.

    Many games can be tried in demo mode before playing for real money.

    Recurring promotions add extra value for returning customers.

    Cash-out speed varies by payment option, with e-wallets often among the fastest.

    The casino is optimised for mobile play on both smartphones and tablets.

  6. Hey there, You’ve done an excellent job. I will certainly digg it and individually recommend to my friends. I’m confident they will be benefited from this site.

  7. This actually answered the question I had been searching for, and after I checked buffbey I had a few more pieces I had not realised I needed, that is the sign of a site that knows what its readers want before they even know how to ask it which is impressive.

  8. Decided not to skim despite my usual habit and was rewarded for the discipline, and a stop at lilynugget earned the same patient approach, training myself to recognise sites that warrant slower reading is part of being a careful online reader and this site is the kind that helps me practice that skill regularly.

  9. Now placing this in the same category as a few other sites I have come to trust, and a look at directiondrivesmotion continued the placement decision, the small category of fully trusted sites is one I extend rarely and only after multiple positive reading sessions and this site has earned the category placement methodically over time.

  10. Donaldhef Donaldhef

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

  11. Recommend this to anyone who values clear thinking over flashy presentation, and a stop at amberlume continued in the same understated way, this site has its priorities in the right place which makes it worth supporting through repeat visits and recommendations rather than just one passing read today before moving on quickly elsewhere.

  12. Took a chance on the headline and was rewarded, and a stop at shoprova kept the rewards coming as I clicked through, the kind of place where every link leads somewhere worth the click is a small luxury on the modern web where so many sites are mostly empty calories disguised as content.

Deixe um comentário

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