rancher/k3os

How to mount VMWare shared folder?

CrazyPyro opened this issue · 0 comments

Version (k3OS / kernel)
k3os version v0.22.2-k3s2r0
5.4.0-88-generic #99 SMP Tue Oct 5 16:53:38 UTC 2021

Architecture
x86_64

Describe the bug
Should be able to mount a shared folder from Windows host into K3OS guest running on VMWare Workstation 16.

To Reproduce
Install a fresh K3OS on VMWare Workstation 16 running on Windows using latest k3os-amd64.iso
In Workstation's Virtual Machine Settings -> Options, Shared Folders, set to "Always Enabled" and map a share.
In the installed rebooted K3OS, confirm:
$ /etc/init.d/open-vm-tools status
* status: started

Then try to mount similar to like in Ubuntu

$ sudo mkdir -p /mnt/hgfs
$ sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other

Expected behavior
This would result in a mounted accessible fileshare.

Actual behavior
Error:
mount: /mnt/hgfs: wrong fs type, bad option, bad superblock on .host:/, missing codepage or helper program, or other error.

This is supposed to work, right? Thanks for any clarification.