{"id":82,"date":"2009-04-25T13:20:13","date_gmt":"2009-04-25T18:20:13","guid":{"rendered":"http:\/\/wordpress.matbra.com\/?p=82"},"modified":"2010-07-22T16:50:51","modified_gmt":"2010-07-22T19:50:51","slug":"ubuntu-virtualbox-22-e-usb","status":"publish","type":"post","link":"https:\/\/wordpress.matbra.com\/en\/2009\/04\/25\/ubuntu-virtualbox-22-e-usb\/","title":{"rendered":"Ubuntu, VirtualBox 2.2 and USB"},"content":{"rendered":"<p>Hello, <\/p>\n<p>Now, with this new version of ubuntu, i will post alot about it while I&#8217;m trying configurations. I don&#8217;t want to teach how to install VirtualBox 2.2, because it&#8217;s a package .deb and is so easy to install it (<a href=\"http:\/\/dlc.sun.com\/virtualbox\/vboxdownload.html\" target=\"_blank\">Download Sun VirtualBox<\/a>). In this post I want to remember that we should select the option &#8220;Enable IO APIC&#8221; in &#8220;Settings &#8211; General &#8211; Advanced&#8221;. (My version of WinXp doesn&#8217;t work without it). So if you system is not booting, verify this option. Now let&#8217;s go to enable USB in your Virtual machine.<\/p>\n<p>You have to install &#8220;Guest Additions&#8221;, use the menu &#8220;Devices &#8211; Install Guest Additions&#8221;. (Don&#8217;t forget to mount it on your cd in virtualbox)<\/p>\n<p>After you install it go to console:<\/p>\n<p>$ grep vbox \/etc\/group<br \/>\nThe result is something similar to this: vboxusers:x:gid:user<\/p>\n<p>(If your user is not there, add it &#8220;System &#8211; Administration &#8211; Users and groups&#8221;)<\/p>\n<p>Edit the file &#8220;mountkernfs.sh&#8221;:<br \/>\n$ sudo pico \/etc\/init.d\/mountkernfs.sh<\/p>\n<p>Go to the end of do_start(), and before the } add this line:<br \/>\ndomount usbfs &#8220;&#8221; \/proc\/bus\/usb usbdevfs -onoexec,nosuid,nodev,devgid=GID,devmode=644<\/p>\n<p>(Replace the GID with your GID)<\/p>\n<p>Save the file, reboot the computer and use your usb in your virtualmachine.<\/p>\n<p>The site that make me try this way is <a href=\"http:\/\/www.davidgrant.ca\/virtualbox_usb_windows_xp_guest_ubuntu_hardy\">http:\/\/www.davidgrant.ca\/virtualbox_usb_windows_xp_guest_ubuntu_hardy<\/a>. This website don&#8217;t says it works on Ubuntu 9.04 (Jaunty), so i tried and it worked.<\/p>\n<p>I hope this is useful,<br \/>\nMatheus<\/p>\n<p>PS: You have to select the device you want to use in virtual machine in &#8220;Device &#8211; USB DEVICES&#8221;<\/p>","protected":false},"excerpt":{"rendered":"<p>Hello, Now, with this new version of ubuntu, i will post alot about it while I&#8217;m trying configurations. I don&#8217;t want to teach how to&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/wordpress.matbra.com\/en\/2009\/04\/25\/ubuntu-virtualbox-22-e-usb\/\">Continue reading<span class=\"screen-reader-text\">Ubuntu, VirtualBox 2.2 and USB<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,34,26,27],"tags":[36,28,41,40,318,37,35,320,39],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-aprendendo","category-linux","category-software-livre","category-ubuntu","tag-36","tag-28","tag-instalacao","tag-maquina-virtual","tag-ubuntu","tag-usb","tag-virtualbox","tag-windows","tag-xp","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/psjGE-1k","_links":{"self":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}