Page MenuHomePhabricator

lima-kilo: Directory mount does not work on linux hosts (/bin/bash: line 1: ./lima-vm/install.sh: No such file or directory)
Closed, ResolvedPublicBUG REPORT

Description

The lima-vm config on lima-kilo does not currently mount the current directory inside the VM when ran on a Linux host. This is caused by the QEMU mount using the 9p filesystem driver, which is not included in the "cloud" kernel variant being used in the Debian cloud image. Manually installing the base kernel image and rebooting fixed the issue on my local machine.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I'm using it on fedora 41 without issues (recreated it last week), I'll try again see if I can reproduce

I'm using it on fedora 41 without issues (recreated it last week), I'll try again see if I can reproduce

My version is 0.21, so a bit older, I'll upgrade too

It seems that 9p was made the default when bumping to 1.0.0:

image.png (162×560 px, 25 KB)

In one of the pull requests doing the move, they mention that for Debian they still default to the old reverse-sshfs, but you might need to manually revert the mount type sometimes:
https://github.com/lima-vm/lima/pull/1953

image.png (491×779 px, 43 KB)

So maybe we should just force that?

Though for some time I've been thinking on building our own image/pre-install some stuff in it so the bootstrapping is quicker, if we do so then we can install the right kernel at that point, that will enable read-write mounts.

dcaro changed the task status from Open to In Progress.Jan 20 2025, 10:43 AM
dcaro claimed this task.
dcaro triaged this task as High priority.
dcaro edited projects, added Toolforge (Toolforge iteration 17); removed Toolforge.
dcaro moved this task from Next Up to In Review on the Toolforge (Toolforge iteration 17) board.
dcaro moved this task from In Review to Done on the Toolforge (Toolforge iteration 17) board.