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

23.087 Comentários

  1. The lack of unnecessary jargon made the post accessible without sacrificing accuracy, and a look at globalcartcenter continued in the same accessible style, technical topics often hide behind specialised vocabulary but here the writer trusts the reader to keep up with plain language and that trust pays off nicely throughout the entire post.

  2. Reading this in the time it took to drink half a cup of coffee, and a stop at oakcovemarkethall fit naturally into the second half, content that respects the rhythms of a typical morning is content with practical fit and this site has the kind of length and pacing that works for the way I actually read.

  3. Honest take is that I will probably forget most of what I read online today but this post is one I will remember, and a stop at forestcovevendorgallery kept that same memorable quality going, certain writing leaves a residue in the mind in a way most content simply does not manage.

  4. Now organising my browser bookmarks to give this site easier access, and a look at autumncovevendorstudio earned the same organisational priority, the small acts of digital housekeeping I do for sites I expect to use often are themselves a measure of trust and this site has triggered the trust based housekeeping behaviour from me clearly.

  5. Glad I gave this a chance rather than scrolling past, and a stop at orchardmeadowmarketroom confirmed I made the right call, sometimes the best content is hidden behind unassuming headlines that do not scream for attention and learning to slow down and check those out has paid off many times now across years of reading.

  6. This actually answered the question I had been searching for, and after I checked fastgoodsbazaar 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.

  7. Ended up here on a wandering afternoon and was glad I stayed for the read, and a stop at goldenharbortradehall extended the wandering into a proper exploration of the site, the kind of place that rewards aimless clicking with something genuinely interesting rather than the shallow content that mostly populates the modern open web.

  8. Polished and informative without feeling overproduced, that is the sweet spot, and a look at honeycoveartisanexchange hit it again, you can tell when a site has been built with care versus thrown together for the sake of having something to put online and this is clearly the former approach taken by the team.

  9. Знаете, бывает — близкий друг срывается , а ты не знаешь что делать . Я через это прошёл пару лет назад. Сначала кажется, что обойдётся , но нет . Требуется профессиональная помощь . Перерыл весь интернет — одни обещания. А потом наткнулся на один нормальный вариант. Ищешь где сделать качественное выведение из запоя с госпитализацией , не ведись на дешёвые обещания . В Нижнем Новгороде , если честно, полно левых контор. Реальные контакты по ссылке ниже: вывод из запоя в стационаре вывод из запоя в стационаре Честно говоря , после того как прочитал , понял свои ошибки. И про кодировку от алкоголя подробно, и про выезд нарколога на дом . И цены адекватные. Советую не откладывать.

  10. Случается сплошь и рядом — человек не может остановиться, а ты не знаешь что делать . Моя семья столкнулась лично . Сначала кажется, что обойдётся , но нет . Нужна реальная помощь . Перерыл весь интернет — одни обещания. Пока не нашёл один действительно рабочий вариант. Ищешь где сделать экстренный вывод из запоя под наблюдением врачей , не рискуй здоровьем. В Нижнем Новгороде , к слову , тоже хватает шарлатанов . Реальные контакты тут : нарколог подростковый нарколог подростковый Честно говоря , после того как прочитал , многое прояснилось . И про кодировку от алкоголя подробно, и про выезд нарколога на дом . Главное — анонимно . Советую не тянуть .

  11. Hi there, You’ve performed a great job. I will certainly digg it and in my opinion recommend to my friends. I am sure they will be benefited from this web site.

  12. Once I trust a site this much I tend to read everything they publish and that is the trajectory I am on with this one, and a stop at tealharborvendorparlor confirmed the trajectory, the rare progression from interested reader to comprehensive reader is something only certain sites earn and this one is earning that progression rapidly.

  13. Big thanks to whoever wrote this, you saved me a lot of time hunting for the same info on other sites, and a stop at snowcoveartisanexchange only added more useful detail without going off topic, that kind of focus is honestly hard to come across these days when most posts wander everywhere.

  14. Once you start reading carefully here it is hard to go back to lower quality alternatives, and a stop at dunecovecraftcollective reinforced that ratchet effect, the way good content raises standards is real over time and this site has clearly contributed to raising my expectations for what is possible in writing on the topic generally.

  15. Walked away with a clearer head than I had before reading this, and a quick visit to freshguild only sharpened that, the writing has a way of cutting through the noise that surrounds most topics online which is something I will definitely remember the next time I am searching for an answer to anything.

  16. ArturoAdurb ArturoAdurb

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

  17. Thanks for putting in the work to make this approachable, plenty of sites cover the same ground but most do it badly, and a quick visit to plumharborvendorroom confirmed this one stands apart, simple language and useful examples without anyone trying to sell me anything along the way which I really appreciated.

  18. Felt a small spark of recognition when the post named something I had been struggling to articulate, and a look at cloudcovecraftcollective produced more such moments, the rare service of giving readers language for fuzzy intuitions is one of the higher values that good writing can provide and this site offered several today instances.

Deixe um comentário

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