this post was submitted on 28 Dec 2023
31 points (89.7% liked)

Linux

48461 readers
565 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Here are the folders that I want to share with my Windows 10 VM (guest):

I added these folders in the Virtual Machine Manager (their full names were truncated):

However, only 'Important Folder A' is showing up:

How do I get all three folders to show up?

all 11 comments
sorted by: hot top controversial new old
[–] VelociCatTurd 7 points 11 months ago

I encountered a similar issue with NFS a very long time ago. I had to set the option for each of my NFS exports to have a fsid and make sure the fsid is different between them. So one folder has the option fsid=1 Second folder has fsid=2 and so on. I hope this helps point you in the right direction.

[–] [email protected] 2 points 11 months ago (1 children)
[–] mmababes 3 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months ago

@mmababes Once I tried to insert the video card into the middle of the virtual machine, but it did not work.

[–] [email protected] 1 points 11 months ago (1 children)

Maybe check the xml tab? Could it be that those three entries share the same bus id?

[–] mmababes 1 points 11 months ago (1 children)

These were the respective XML values of the folders:

Important Folder A: domain="0x0000" bus="0x05" slot="0x00" function="0x0"
Important Folder B: domain="0x0000" bus="0x06" slot="0x00" function="0x0"
Important Folder C: domain="0x0000" bus="0x07" slot="0x00" function="0x0"

I need Windows and Kali Linux to study for an exam so after VMware stopped working on Ubuntu 23.10, I decided to use QEMU/KVM. Unfortunately, I couldn't get shared folders or a bridge connection to work in KVM so I decided to just install Debian 12 on my PC and hope that VMware works on it. Shared folders and a bridge connection are must-haves for me.

[–] [email protected] 2 points 11 months ago

I haven't tried this myself, but it seems if you want to mount multiple virtiofs drives in the guest os, you'll have to use WinFSP.Launcher instead of default virtiofs windows service. You'll need to:

  • stop and disable the default virtiofs service,
  • setup WinFsp.Launcher
  • run a command to mount your drive one by one

This wiki has the info on how to do that: https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Virtiofs:-Shared-file-system#multiple-virtiofs-instances