Is it possible to access the folder created in windows, through unix operating system (Ubuntu 14.04 LTS) that is installed on a virtual machine on windows? If yes, what is the process to access the folder?
Yes it is possible, though there are more ways than one.
1) Shared folder option in VM manager
Depending on the virtual machine manager, the should be an option to share a folder from the host (Windows in your case) to the virtual machine (Ubuntu).
In VMware, it is under the VM settings -> Options Tab -> Shared Folder. Select "Always enabled" then under the "Folders" section click the "Add" button.
2) Create an Network File System (NFS)
This is a more complex choice since it involves some setup. You will first configure Windows to share the folder via NFS (Great article from Microsoft here).
To share a folder by using Nfsshare.exe:
Log on to the Windows-based server by using an administrative level account.
Click Start, click Run, type cmd, and then click OK.
Type the following command, and then press ENTER to share a folder to NFS clients and to allow anonymous access:
nfsshare -o anon=yes share_name=drive:path
Type the following command, and then press ENTER to delete an NFS share:
nfsshare share_name /delete
Type: nfsshare /?, and then press ENTER to display the parameters that you can use with Nfsshare.
To share a folder by using Windows Explorer:
- Log on to the Windows-based server by using an administrative level account.
- Start Windows Explorer.
- Right-click the folder that you want to share, and then click Sharing.
- Click the NFS Sharing tab, and then click Share this folder.
Configure the appropriate settings, and then click OK.
NOTE: Microsoft recommends that you install at least one User Name Mapping service on your network to map UNIX and Windows user names to each other. Please view the Kb article about User Name Mapping service below.
324073 HOW TO: Configure User Name Mapping
Once you got that out of the way, you can then mount the NFS under Ubuntu as follows:
2.1) Create an empty directory (referred to as mount point)
sudo mkdir -p /mnt/nfs
The /mnt/nfs will be the location on ubuntu you can access the folder from but first we need to tell Ubuntu to link that folder with the NFS created on windows.
2.2) Mount the NFS over the created directory
This can be done by addressing the host server (Windows), which, for the purpose of this tutorial has an IP of 192.168.1.10, as shown below:
sudo mount 192.168.1.10:/ /mnt/nfs
Hope this was what you were looking for.