When running guestfish without a /lib/modules directory, the following error message appears: supermin: ext2: populating from base image supermin: ext2: copying files from host filesystem supermin: ext2: copying kernel modules supermin: error: lstat: No such file or directory: /lib/modules libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above Even though I set the environment variable $SUPERMIN_MODULES, supermin expects to find the /lib/modules directory. Note: I tried to use ext2fs_mkdir, but an error message that I didn't know how to fix: File "ext2fs.ml", line 29, characters 24-93: 29 | external ext2fs_mkdir : t -> string -> string -> int -> int-> int -> int-> int -> int -> unit = "supermin_ext2fs_mkdir" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: An external function with more than 5 arguments requires a second stub function George Prekas (1): Fix for missing /lib/modules. src/format_ext2.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.35.1