Skip to content

Share a Host Folder with the Guest

Host mounts are the comfortable way to edit on your desktop and run in the guest. Save a script in your normal editor, then execute the same file under /mnt.

Add an entry to the live gatos.toml before starting the VM:

[[mounts]]
name = "scripts"
path = "C:/Users/you/ksa-scripts"
read_only = true

On Linux, use an absolute Linux path. The name becomes the guest directory.

  1. Shut down the gatOS VM.
  2. Add the mount entry and save gatos.toml.
  3. Start the VM and run ls -la /mnt/scripts.
  4. Edit a file on the host, then read it again from the guest.

Set read_only = false only when guest programs must create or change host files.

Mounts use a separate 9P server from /sim. They are not exposed through HTTP, MQTT, serial, or MCP.