Linux Distributions
--
Questions
--
Followers
Top Experts
Hi,
Ubuntu guest VM is having Host-Only adapter and I can ping the IP 192.168.56.101 of this Guest VM, from the host.
This VM is having one shared path like
\\192.168.56.101\sh_path
Within host OS, I cannot access the shared path in above. How to resolve it?
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
but I cannot find it out below, within the guest, while I've run Virtualbox addition properly.
Seems unnecessary to access a local resource of the host via a path on the guest os.
You could share as many paths as you add to the VM.
Look df -k
Sh_path on Ubuntu
Place a file on the host side, see if it is there, then create a file on the Ubuntu side, and confirm you can see it on the host.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Using "df -k", I do not see the shared path of the host.
In the second, you have the sh_path on Ubuntu.
What is there?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Though I think it should have been listed as a mounted resource in the listing..
The one below is the host (Win 2019) but nothing is under it.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
You are posting the root user's home directory which is /root
The file explorer also does not look the same as your earlier post.
Can you confirm the host shared resource is connected?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Current root is from "/" and the host's shared path is set up well to the VM.
If properly shared, on a Windows system it is seen as a resource under computer, in Linux it should be reflected as a mount point listed in df -k
It is not supposed to be this hard to locate.
If there is one shared path like
\\my.own.ip.addr\sh_path
how to access it within Ubuntu?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
/mnt/sh_host
Then in the VirtualBox Settings for the VM I define the mount point to be /mnt/sh_host
Then when Ubuntu is started you can navigate to /mnt/sh_host & it is there. There is no IP involved.
Now issue is that I cannot locate that shared path of host, within Ubuntu guest, while Virtualbox addition is fine. Where is the problem?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Make sure "Automount" & "Make Permanent" are both on. Save then start the VM. Now in Ubuntu use the file manager to navigate to /mnt/sh_path1 & you will see the contents of the folder you shared of your host.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I would also first put a file into that share using your Windoze host, & then see if you can see it in your VM.
/mnt/sh_path2
inside the guest VM.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
If there is one shared path like
\\my.own.ip.addr\sh_path
how to access it within Ubuntu?
You have to have the directory sh_path2 within there to function as the mount point.
cd /mnt
mkdir -p sh_path sh_path2
And rerun mount -a
I do try to mount it but I cannot see contents of the shared path, within the host machine.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
What are you looking to mount
The way a host share to the VM is handled is that once you edit the settings of the VM and specify that you want the VM to access a designated area of storage on the HOST, as you have, you identify the storage space d:\sh_path2 on the host to be accessible on the VM at /mnt/sh_path2
that is all it takes. Now the VM has /mnt/sh_path2 which provides the VM access to a shared space with the host.
You can place a file in /mnt/sh_path2 and then look on the host and the file will be accessible there.
This often can be used to provide a shared srotage space on the host to be accessed by several VMs.
What is your need?
The display in your example, shows a windows image backup folder.
is that what currently exists on the host in d:\sh_path2?
The confusing path, you have sh_path2 as the folder path and folder name. Is one of the field automatically rendered?
My test would be to add file on the host and make sure it is seen in the VM to make sure I am dealing with the correct settings I am looking for.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I think it is also troublesome to resolve that NTFS issue with Windows host. Can we change the way like that I used scp below, to copy files (within VM guest) to one other remote shared path? How to resolve "time out" issue below?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Can you help to scp issue in above, as we've changed the way of this?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Linux Distributions
--
Questions
--
Followers
Top Experts
A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).