Closed aFuerst closed 3 months ago
Looks like the kernel in libkrunfw was built without virtiofs support. Did you attempt to change the kernel's config when building libkrunfw?
That was the problem. I had to manually set CONFIG_FUSE_FS=y
and CONFIG_VIRTIO_FS=y
in the libkrunfw kernel config. Boots like a charm! Thank you
I built
libkrunfw
andlibkrun
successfully,init/init
exists after the build, and making the rootfs with podman all worked. When I run the first example using./chroot_vm ./rootfs_fedora /bin/sh
I just get a panic.Looks like the rootfs or init program isn't being mounted? Any idea? Running on Ubuntu 22.04, kernel 6.5.0-41-generic