{"id":18719,"date":"2022-02-05T14:30:07","date_gmt":"2022-02-05T13:30:07","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=18719"},"modified":"2022-02-05T14:30:07","modified_gmt":"2022-02-05T13:30:07","slug":"opensuse-and-vmware-data-exchange-with-windows-using-shared-folders","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/18719\/opensuse-and-vmware-data-exchange-with-windows-using-shared-folders\/","title":{"rendered":"openSuse and Vmware &#8211; Data exchange with Windows using shared folders"},"content":{"rendered":"<p>Data exchange with shared folders between Linux and Windows in Vmware Workstation.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/18719\/opensuse-and-vmware-data-exchange-with-windows-using-shared-folders\/#Vmware_settings\" >Vmware settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/18719\/opensuse-and-vmware-data-exchange-with-windows-using-shared-folders\/#Mounting_Shared_Folder_in_Linux\" >Mounting Shared Folder in Linux<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi-blog.de\/en\/18719\/opensuse-and-vmware-data-exchange-with-windows-using-shared-folders\/#Mounting_the_shares\" >Mounting the shares<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ekiwi-blog.de\/en\/18719\/opensuse-and-vmware-data-exchange-with-windows-using-shared-folders\/#Mount_shares_permanently\" >Mount shares permanently<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Vmware_settings\"><\/span>Vmware settings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, we go to the virtual machine settings. Here we first enable the &#8220;Shared Folders&#8221;, then we can add a path or paths which we want to make available to the VM.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_1.png\" alt=\"\" width=\"750\" height=\"734\" class=\"aligncenter size-full wp-image-18710\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_1.png 750w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_1-300x294.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>In my example I share the complete C:\\ hard disk.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_2.png\" alt=\"\" width=\"454\" height=\"260\" class=\"aligncenter size-full wp-image-18712\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_2.png 454w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_2-300x172.png 300w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Mounting_Shared_Folder_in_Linux\"><\/span>Mounting Shared Folder in Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We start our Linux and then we can check if the share is available with the following command:<\/p>\n<pre>\r\n\/usr\/bin\/vmware-hgfsclient\r\n<\/pre>\n<p>The output should now show our shares:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_3.png\" alt=\"\" width=\"483\" height=\"109\" class=\"aligncenter size-full wp-image-18714\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_3.png 483w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_3-300x68.png 300w\" sizes=\"auto, (max-width: 483px) 100vw, 483px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Mounting_the_shares\"><\/span>Mounting the shares<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>We can now mount the shares with the following command:<\/p>\n<pre>\r\nsudo mount -t fuse.vmhgfs-fuse .host:\/ \/mnt\/hgfs -o allow_other\r\n<\/pre>\n<p>We should create the destination folder beforehand, after completing the command the shares are available in Linux.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_4.png\" alt=\"\" width=\"823\" height=\"505\" class=\"aligncenter size-full wp-image-18716\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_4.png 823w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_4-300x184.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_4-768x471.png 768w\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Mount_shares_permanently\"><\/span>Mount shares permanently<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The mount is only valid until the next reboot. However, we can use the &#8220;etc\/fstab&#8221; file to mount the shares automatically at each startup. To do this, we add the following line to the end of the file:<\/p>\n<pre>\r\n.host:\/     \/mnt\/hgfs     fuse.vmhgfs-fuse      allow_other      0 0\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_5.png\" alt=\"\" width=\"759\" height=\"344\" class=\"aligncenter size-full wp-image-18718\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_5.png 759w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/02\/vmware_suse_shared_5-300x136.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/p>\n<p>Done! From now on the <a href=\"https:\/\/ekiwi-blog.de\/en\/26128\/vmware-where-are-shared-folders-in-linux\/\">Shared Folders<\/a> will be mounted automatically at every system start.<\/p>","protected":false},"excerpt":{"rendered":"<p>Data exchange with shared folders between Linux and Windows in Vmware Workstation.<\/p>\n","protected":false},"author":1,"featured_media":17639,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682,1889,1759],"class_list":["post-18719","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en","tag-opensuse-en","tag-vmware-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/18719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=18719"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/18719\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/17639"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=18719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=18719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=18719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}