{"id":1572,"date":"2021-12-16T14:05:43","date_gmt":"2021-12-16T11:05:43","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/04\/27\/how-to-access-a-vmware-shared-folder-on-ubuntu\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/04\/27\/how-to-access-a-vmware-shared-folder-on-ubuntu\/"},"modified":"2021-12-16T14:05:43","modified_gmt":"2021-12-16T11:05:43","slug":"how-to-access-a-vmware-shared-folder-on-ubuntu","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1572-how-to-access-a-vmware-shared-folder-on-ubuntu\/","title":{"rendered":"How to access a VMWare shared folder on Ubuntu"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Do you have an Ubuntu VM in VMware Workstation and want to share a folder with it but can\u2019t figure it out? If so, this guide is for you! Follow along as we go over how to access VMware shared folders on Ubuntu!<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-400671 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu.png\" alt=\"VMWare shared folder on Ubuntu\" width=\"1200\" height=\"634\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-6.png 1024w, https:\/\/www.addictivetips.com\/app\/uploads\/2021\/04\/shared-configure-fs8-768x406.png 768w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-10.png 320w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<h2>Before we begin<\/h2>\n<p>This article covers VMware Workstation 16, using Ubuntu as a guest operating system. For this reason, you\u2019ll need to have VMware Workstation 16 installed on your host operating system.<\/p>\n<p>The host operating system in this guide is Arch Linux. It has been tested extensively, and VMware 16 is available for installation through the Arch Linux AUR.<\/p>\n<p>That said you do not have to use Arch Linux as your host OS. VMware Workstation 16 can also be installed on other Linux operating systems and Mac OS and versions of Microsoft Windows.\u00a0<\/p>\n<p>If you\u2019re not sure how to install VMware Workstation 16 on your host operating system, or if you\u2019re using an older release, you\u2019ll need first to install VMware Workstation 16 to continue with this guide. For more information, click on this link here.\u00a0<\/p>\n<h2>Setting up an Ubuntu VM<\/h2>\n<p>Before a shared folder can be accessed, you must create an Ubuntu guest VM in VMware Workstation 16. Head over to Ubuntu.com, and go through the process of configuring and setting up an Ubuntu VM in VMware.<\/p>\n<p>Alternatively, if you don\u2019t want to set up a VM from scratch, you can download a pre-configured VMDK image directly from OSboxes.org. They distribute many releases of Ubuntu for VMware as well as virtualbox.<\/p>\n<p>Once you\u2019ve gotten your Ubuntu VM configured, turn it on and start it up. When the VM is turned on, log into your user account using the user credentials created during the installation process.<\/p>\n<h2>Adding a shared folder to the Ubuntu VM<\/h2>\n<p>To add a shared folder to your Ubuntu VM, you will need to go into the VM settings in VMware. To do this, go to the VMware Workstation 16 UI, and right-click on the Ubuntu VM.<\/p>\n<p>After right-clicking on the Ubuntu VM, select \u201cSettings.\u201d When you click on the \u201cSettings\u201d button, a \u201cVirtual Machine Settings\u201d window will appear on the screen. On this screen, you\u2019ll see two tabs. These tabs are \u201cHardware\u201d and \u201cOptions.\u201d<\/p>\n<p>Find the \u201cOptions\u201d tab, and click on it with the mouse. Then, when you make it to the \u201cOptions\u201d area, you\u2019ll see a sidebar on the left-hand side. In this sidebar, there are tons and tons of options available.\u00a0<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-400671 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu.png\" alt=\"\" width=\"1200\" height=\"634\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-6.png 1024w, https:\/\/www.addictivetips.com\/app\/uploads\/2021\/04\/shared-configure-fs8-768x406.png 768w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-10.png 320w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>Look through the \u201cOptions\u201d sidebar for \u201cShared Folders.\u201d Select \u201cShared Folders\u201d and click on the \u201cAlways enabled\u201d box. This box will turn on Shared Folders in the Ubuntu VMware VM at all times.<\/p>\n<p>Note: if you only need shared folders for a limited time, consider instead selecting the \u201cEnabled until next power off or suspend\u201d option.<\/p>\n<p>After enabling shared folder support in the VM, you must add your shared folder. Go to the \u201cFolders\u201d box, and click on the \u201c+ Add\u201d button with the mouse. Then, use the file browser to make a folder on the Host OS available to the Ubuntu VM.<\/p>\n<p>When you\u2019ve selected your folder, click on the \u201cSave\u201d button to apply your Shared Folder settings to the VM.<\/p>\n<h2>Access shared folder in Ubuntu<\/h2>\n<p>Once the shared folder is mounted in VMware, it will automatically be available in the Ubuntu VMware Workstation VM via the <code>\/mnt\/hgfs\/<\/code> folder. You can access your shared files either via the command-line terminal or the Ubuntu file manager.<\/p>\n<p>To access your shared folder and files via the file manager, do the following. First, open up the Ubuntu file manager. Then, click on the \u201cOther Locations\u201d button. Inside the \u201cOther locations\u201d area, find the \u201cComputer\u201d icon and click on it to access the root folder.<\/p>\n<p>Inside the root folder, locate the \u201cmnt\u201d folder and click on it. Then, select the \u201chgfs\u201d folder. In this folder, you\u2019ll see your shared folder from the Host OS. Click on it to access your files.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-400663 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-1.png\" alt=\"\" width=\"1200\" height=\"632\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-1.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-12.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-14.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-16.png 768w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-18.png 320w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>To bookmark the shared folder, do the following. First, click on the \u201chgfs\u201d item in the address bar. After clicking on \u201chgfs,\u201d a menu will appear. In this menu, select the \u201cAdd to Bookmarks\u201d button to add it to the sidebar.\u00a0<\/p>\n<p>Once the \u201chgfs\u201d folder is on the sidebar as a bookmark, you\u2019ll always be able to access your shared files in an instant quickly.<\/p>\n<h3>Access the folder via the command line<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-400660 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-2.png\" alt=\"\" width=\"1200\" height=\"636\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-2.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-20.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-22.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-24.png 768w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-access-a-vmware-shared-folder-on-ubuntu-25.png 320w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>To access your shared files via the Linux terminal window, use the following <strong>CD\u00a0<\/strong>command.<\/p>\n<pre>\ncd \/mnt\/hfgs\/\n<\/pre>\n<p>From here, you can access your shared folder right from the command line. If you\u2019d like to view the contents of this folder, run the\u00a0<strong>ls\u00a0<\/strong>command. It will display everything in the folder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Do you have an Ubuntu VM in VMware Workstation and want to share a folder with it but can\u2019t figure it out? If so, this guide is for you! Follow along as we go over how to access VMware shared folders on Ubuntu! Before we begin This article covers VMware Workstation 16, using &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1573,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1572"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1572"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1572\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1573"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}