Closed jandubois closed 1 year ago
Without this change the binfmt_misc filesystem isn't mounted and rosetta cannot be registered.
binfmt_misc
This isn't needed for /etc/init.d/qemu-binfmt because it loads the binfmt-misc kernel module itself if the filesystem isn't yet mounted.
/etc/init.d/qemu-binfmt
binfmt-misc
Without this change (in /var/log/lima-init.log):
/var/log/lima-init.log
/mnt/lima-cidata/boot/05-rosetta-volume.sh: line 13: can't create /proc/sys/fs/binfmt_misc/register: nonexistent directory
Without this change the
binfmt_misc
filesystem isn't mounted and rosetta cannot be registered.This isn't needed for
/etc/init.d/qemu-binfmt
because it loads thebinfmt-misc
kernel module itself if the filesystem isn't yet mounted.Without this change (in
/var/log/lima-init.log
):