In the Hyper-V manager screen go to your Ubuntu virtual machine settings and verify that the Default Switch is used for connectivity. If you are using the Default Switch option by Hyper-V to provide connectivity to your Guest, then your VM can talk to the main Windows installation and we have nothing to worry about. To access the contents of the shared folder, both the guest and host network should be on the same network. Now the question is how do we access this from our Linux Guest? Guest to Host Networking On our Linux guest we will replace the backslashes to forward one like so //PCName/Shared_Folder_Name Backslashes are used to separate different directories while prescribing paths in Windows. Usually, it will follow the same \\PCName\Shared_Folder_Name format. Next, Click on Share which would require you to have administrative privileges and you will be given the Network Path of the folder in the next Window.Īs you can see the path is \\ANGMAR\MySharedFolder in this case. If you want to add more users feel free to do so. Here you can see a dummy user name WitchKing is being used. By default, your username will be selected, let’s leave it at that, for security reasons. It will ask you about which users you might want to share this folder with. Right-click on this new folder, go to Properties → Sharing and Click on Share. Once that is done, let’s create a Folder in which we will keep our shareable contents. If it isn’t, check the box that does switch it on and save the changes. Also search for “Advanced Sharing Settings” in the Start Menu and verify that Sharing is Turned On like so: If it asks you to reboot the system, do that. Once you find that, open it up and check the SMB 1.0 and SMB Direct boxes, as shown below:Ĭlick OK, and wait for the changes to take place. In your Start Menu search for “Turn Windows Features on or off”. To make sure we are all on the same page, we are running the following steps on a Windows 10 Pro host system with a Ubuntu 18.04 LTS running as a guest inside Hyper-V.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |