[LINUX] How to mount a Windows 10 directory on Ubuntu-Server 20.04 on VMware Workstation 15

If you look it up, there are some sites that explain how to do it, I'll leave a concise way for myself. I was able to share it on Ubuntu Desktop in a similar way.

1. Download the Ubuntu Server image

Download the image from jp.ubuntu.com download page image.png

2. Install on VMWare

I think that it will come out as soon as I check it, so I will omit it here

3. Specify the shared folder in the VMWare settings

Make the following settings while Ubuntu is not running.

image.png

image.png

Decide the directory of the host you want to share here and the directory name when it was mounted, and press Next.

image.png

Complete with the default settings.

image.png

I like this part, but I always keep it valid. When the settings are complete, press OK to close the settings.

4. Install the required tools

unzip

$ apt install unzip

5. Install vmware-tools-patches

Start Ubuntu-Server and install the tool with the following command in an appropriate directory.

$ git clone https://github.com/rasa/vmware-tools-patches.git
$ cd vmware-tools-patches
$ ./download-tools.sh latest
$ ./untar-and-patch.sh
$ ./compile.sh

When you're done so far, restart Ubuntu.

6. Mount

sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other

The shared folder is mounted in the following directory and can be used.

cd /mnt/hgfs

7. Mount automation

If you follow step 6, the settings will be initialized every time you restart, so If you want to mount it at startup, set it.

Add this to the last line

/etc/fstab


.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0

Recommended Posts

How to mount a Windows 10 directory on Ubuntu-Server 20.04 on VMware Workstation 15
How to live a decent life on 2017 Windows
How to run Django on IIS on a Windows server
How to use Dataiku on Windows
How to deploy django-compressor on Windows
How to install music 21 on windows
[Kivy] How to install Kivy on Windows [Python]
How to use Google Assistant on Windows 10
How to install richzhang / colorization on Windows 10
How to test on a Django-authenticated page
Verification of how to periodically execute a script on a Linux server on Windows
How to quickly install h5py on Windows 10 [Unofficial]
Mount a directory on another server with sshfs
[Python] How to install OpenCV on Anaconda [Windows]
How to read a file in a different directory
How to install / verify graphviz on anaconda / windows10
How to embed mod_wsgi into Apache on Python Windows
How to deploy a Django application on Alibaba Cloud
How to install Linux on a 32bit UEFI PC
A memorandum on how to use keras.preprocessing.image in Keras
How to build a Django (python) environment on docker
How to build a Python environment on amazon linux 2
How to operate Firefox with selenium on Windows Memo
How to use GitHub on a multi-person server without a password
How to use Fujifilm X-T3 as a webcam on Ubuntu 20.04
[Ubuntu] How to delete the entire contents of a directory
A memo on how to easily prepare a Linux exercise environment
How to run a trained transformer model locally on CloudTPU
How to build a new python virtual environment on Ubuntu
How to run a Python file at a Windows 10 command prompt
How to set up WSL2 on Windows 10 and create a study environment for Linux commands
How to call a function
How to make a multiplayer online action game on Slack
How to use VS Code in venv environment on windows
How to specify a public directory Python simple HTTP server
How to register on pypi
A note on how to load a virtual environment in PyCharm
How to hack a terminal
How to register a package on PyPI (as of September 2017)
I tried to create a server environment that runs on Windows 10
A note on how to check the connection to the license server port
How easy is it to synthesize a drug on the market?
How to customize U-Boot with OSD335X on a custom board (memo)
How to build a Python environment using Virtualenv on Ubuntu 18.04 LTS
How to make a .dylib library from a .a library on OSX (El Capitan)
How to deploy a Django app on heroku in just 5 minutes
[Ln] How to paste a symbolic link in a directory is complicated
How to deploy a web application on Alibaba Cloud as a freelancer
How to continue processing after returning a response on aiohttp Server
Everything from building a Python environment to running it on Windows
How to make a Japanese-English translation
How to write a Python class
Python 3.6 on Windows ... and to Xamarin.
How to put a symbolic link
How to install mysql-connector-python on mac
Notes on how to use pywinauto
How to create a Conda package
How to install graph-tool on macOS
How to install VMware-Tools on Linux
How to make a crawler --Advanced
Notes on how to use featuretools