Skip to main content
replaced http://superuser.com/ with https://superuser.com/
Source Link

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I read in these two links: herehere and herehere that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that I need to run on the guest to enable sharing?
  3. How do I make sure that these folders are only available to the host OS and not on the Internet?
  4. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that I need to run on the guest to enable sharing?
  3. How do I make sure that these folders are only available to the host OS and not on the Internet?
  4. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that I need to run on the guest to enable sharing?
  3. How do I make sure that these folders are only available to the host OS and not on the Internet?
  4. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

deleted 2 characters in body; added 3 characters in body; edited body; deleted 6 characters in body
Source Link

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and I need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but now I have the following questions now:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that I need to be executedrun on the guest to enable sharing?
  3. How do I make sure that these folders are only available to the host OS and not on the Internet?
  4. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and I need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and install Samba on the Linux guest, but now I have the following questions:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that need to be executed on the guest to enable sharing?
  3. How do I make sure that these folders are only available to the host OS and not on the Internet?
  4. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that I need to run on the guest to enable sharing?
  3. How do I make sure that these folders are only available to the host OS and not on the Internet?
  4. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

added 210 characters in body; deleted 43 characters in body; added 49 characters in body
Source Link

I would like to share the a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I foundread in these two links: here and here that suggest that it's possible to do this using Samba, but I haven't been able to do it with theam a little bit lost and I need more information they provideon how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and install Samba on the Linux guest, but now I have the following questions:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that need to be executed on the guest to enable sharing?
  3. How can I access each of the shared folders from the Windows host?
  4. How do I make sure that these folders are only available to the host OS and not on the Internet?
  5. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

I would like to share the a folder from a Linux Guest with a Windows host (with read and write access if possible)

I found these two links: here and here that suggest that it's possible to do this using Samba, but I haven't been able to do it with the information they provide.

So far, I managed to set up two network adapters (one NAT and one host-only) and install Samba on the Linux guest, but now I have the following questions:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that need to be executed on the guest to enable sharing?
  3. How can I access each of the shared folders from the Windows host?
  4. How do I make sure that these folders are only available to the host OS and not on the Internet?

Thanks!

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.

I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and I need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and install Samba on the Linux guest, but now I have the following questions:

  1. What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories)
  2. Are there any Samba commands that need to be executed on the guest to enable sharing?
  3. How do I make sure that these folders are only available to the host OS and not on the Internet?
  4. Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

Thanks!

added 277 characters in body; edited title; edited tags; added 22 characters in body; added 6 characters in body; added 120 characters in body; edited title; added 188 characters in body; deleted 9 characters in body
Source Link
Loading
deleted 84 characters in body; edited body
Source Link
Loading
Source Link
Loading