{"id":241,"date":"2013-01-09T15:06:48","date_gmt":"2013-01-09T23:06:48","guid":{"rendered":"http:\/\/otherchin.com\/blog\/?p=241"},"modified":"2013-01-09T15:06:48","modified_gmt":"2013-01-09T23:06:48","slug":"creating-a-linux-virtualbox-share","status":"publish","type":"post","link":"http:\/\/otherchin.com\/blog\/2013\/01\/creating-a-linux-virtualbox-share\/","title":{"rendered":"Creating a Linux VirtualBox share"},"content":{"rendered":"<p>I use a GUI-less Linux VirtualBox VM for development. I needed an easy way to transfer files back and forth. Seeing as this is the third time I needed to set this up, I figured I should document the steps.<\/p>\n<ol>\n<li>Install VirtualBox Guest Additions on the Linux VM\n<ul>\n<li>On the host VM, click &#8220;Devices&#8221;-&gt;&#8221;Install Guest Additions&#8221;<\/li>\n<li>cd \/media\/cdrom<\/li>\n<li>sudo mount \/dev\/cdrom \/media\/cdrom<\/li>\n<li>sudo .\/VBoxLinuxAdditions.run<\/li>\n<\/ul>\n<\/li>\n<li>Create the shared folder\n<ul>\n<li>Open the host VM settings<\/li>\n<li>Click &#8220;Shared Folders&#8221;<\/li>\n<li>Click the icon with the plus sign to add a share<\/li>\n<li>Select the path on your host system that you want to designate as the commonly shared directory<\/li>\n<li>Check &#8220;Auto-mount&#8221; and &#8220;Make Permanent&#8221;<\/li>\n<li>Click &#8220;OK&#8221; to save the share<\/li>\n<\/ul>\n<\/li>\n<li>Add your user to the group so you can access the share\n<ul>\n<li>useradd -a -G vboxsf [username]<\/li>\n<li>Reboot<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>After you do these steps, your share will be available on your host operating system and your Linux guest operating system (and will be there on reboot).  You can find the share on your Linux system at \/media\/sf_shared .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use a GUI-less Linux VirtualBox VM for development. I needed an easy way to transfer files back and forth. Seeing as this is the third time I needed to set this up, I figured I should document the steps. Install VirtualBox Guest Additions on the Linux VM On the host VM, click &#8220;Devices&#8221;-&gt;&#8221;Install Guest [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[167,134,168,166],"class_list":["post-241","post","type-post","status-publish","format-standard","hentry","category-development","tag-share","tag-shared","tag-ubuntu","tag-virtualbox"],"_links":{"self":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/posts\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/comments?post=241"}],"version-history":[{"count":2,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/posts\/241\/revisions"}],"predecessor-version":[{"id":243,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/posts\/241\/revisions\/243"}],"wp:attachment":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/categories?post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/tags?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}