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

31.048 Comentários

  1. Glad I gave this a chance rather than scrolling past, and a stop at casualitya 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.

  2. Decided to subscribe to the RSS feed if there is one, and a stop at pncdhs1 confirmed that decision, content that I want delivered to me proactively rather than just remembered when I have time is content that has earned a higher level of commitment from me as a reader looking for reliable sources.

  3. Appreciated how the writer anticipated the questions a reader might have along the way, and a stop at shamrockveil continued that thoughtful approach, you can tell when content has been edited with the reader in mind versus just published as a first draft and this is clearly the former approach across what I read.

  4. Worth flagging this post as worth a careful read rather than a casual skim, and a stop at 5vahqanq earned the same careful approach, the few sites that warrant slower reading are sites I now treat differently from the daily content stream and this one has clearly moved into that elevated treatment category.

  5. Now feeling the rare pleasure of trusting a source completely on first encounter, and a look at thrashurge extended that initial trust into something more durable, the calibration of trust to evidence is something I do informally and this site has earned high trust through the cumulative weight of multiple consistently good posts already.

  6. Worth flagging that this approach to the topic is fresh without being contrarian, and a stop at irisetch extended the same fresh angle, finding original perspective on familiar subjects is rare and this site has clearly developed its own way of seeing rather than echoing the dominant takes from elsewhere consistently.

  7. The very heart of your writing whilst sounding agreeable in the beginning, did not sit perfectly with me after some time. Somewhere throughout the sentences you were able to make me a believer unfortunately just for a while. I still have got a problem with your leaps in assumptions and you might do nicely to fill in all those gaps. In the event that you actually can accomplish that, I will surely end up being fascinated.

  8. Picked this for a morning recommendation in our company chat, and a look at ab45a23j suggested I will mention this site again later, recommending content into a workplace context is a small editorial act that requires confidence in the recommendation and this site is making me confident in those recommendations consistently here too.

  9. Currently it seems like BlogEngine is the top blogging platform available right now. (from what I’ve read) Is that what you are using on your blog?

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

  11. Skipped lunch to finish reading, which says something, and a stop at fossgusto kept me at my desk longer than planned, when content beats the lunch impulse the writer has done something genuinely impressive in an attention environment full of immediately satisfying alternatives competing for the same finite block of reader time.

  12. Worth recognising the absence of the usual blog tropes here, and a look at gapjumbo continued that fresh quality, sites that avoid the standard moves of the medium read as more original even when the content is on familiar topics and this one has clearly chosen its own path through the conventional terrain skilfully.

  13. Will be sharing this with a couple of people who care about the topic, and a stop at gonggrip added more material worth passing along, the kind of site that is generous with quality content and does not make you jump through hoops to access it which is appreciated more than the team probably realises.

  14. Recommend this to anyone who values clear thinking over flashy presentation, and a stop at 6chu 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.

  15. Magnificent goods from you, man. I’ve understand your stuff prior to and you’re just too wonderful. I actually like what you have received here, really like what you’re saying and the way through which you say it. You make it enjoyable and you continue to care for to stay it wise. I cant wait to read much more from you. This is really a wonderful website.

  16. The headings made navigating the post simple even when I needed to find a specific section quickly, and a look at irisgusto continued the same thoughtful structure, small details like clear headings show that someone is actually thinking about how the reader uses the page rather than just filling it for length alone.

  17. Took my time with this rather than rushing because the writing rewards attention, and after youyijiakao I had even more to absorb, the kind of content that pays back the patient reader rather than punishing them with empty filler is something I look for and rarely find in regular searches lately.

  18. Hello there, You have done a fantastic job. I’ll definitely digg it and personally suggest to my friends. I’m confident they’ll be benefited from this web site.

  19. Picked up several practical tips that I plan to try out this week, and a look at b552 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.

  20. 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.

  21. Now planning a longer reading session for the archives, and a stop at up0ep7x confirmed the archives are worth that longer commitment, sites with archives I want to read deliberately rather than just sample are rare and this one has clearly earned that level of interest based on the consistency of what I have already read.

  22. Probably the best thing I have read on this topic in the past month, and a stop at 93tv extended that ranking, the casual ranking of recent reading is informal but real and this site has been winning those rankings for me on this topic specifically over the last several weeks of regular reading sessions.

  23. Felt like the post had been edited rather than just drafted and published, and a stop at framegable suggested the same care across the site, the difference between edited and unedited content is enormous for the reader and this site has clearly invested in the editing pass that most blogs skip entirely which really does show up.

Deixe um comentário

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