I’m having the hardest tine setting up a shared folder between a Linux host and Win11guest. I want to get rid of dual boot, but there are a few programs that I use which are Win only. I have set up a VB VM, but I want a fine tuned KVM VM. On VB sharing is trivial, but I can’t get it to work in KVM. I have the host sharing the folder with Samba, and can see it from another Linux VM, but not from windows. Any clues?

  • nyan
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    The method of last resort would be to place the files you want shared on a virtual drive that you pass to the Windows guest, then mount that virtual drive as a loopback device under Linux. I have only done this for very old versions of Windows that can’t talk to normally configured current versions of Samba, so I don’t know how it will behave with 11—simultaneous access doesn’t really work with my Win 98SE guest, but the method is adequate for passing files back and forth.

    (The person who suggested wsdd2 is likely right on the money, though—a Samba share won’t be browsable without it from modern Windows, although you may still be able to connect to it blind if you know the address. Problem is, in my experiences with Samba, the address was usually not quite what I expected . . .)

    • elucubra@sopuli.xyzOP
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      I have considered using an external NVME I have in a USB case, but It’s a clunky workaround.