If this is still a RPI4B, you first need to make sure all kernel relates files are in place:
/boot
kernel file
initrd file
/usr/lib/modules
the matching module tree
/usr/lib/
a matching tree of dtbs overlays matching kernel
Then you can copy/rename files to the boot FAT mounted on /boot/firmware
A hook in the initramfs config folder does also this copying, but that is where you got an error
make sure you have updated initramfs (for all kernels in your rootfs)
/boot
kernel file
initrd file
/usr/lib/modules
the matching module tree
/usr/lib/
a matching tree of dtbs overlays matching kernel
Then you can copy/rename files to the boot FAT mounted on /boot/firmware
A hook in the initramfs config folder does also this copying, but that is where you got an error
make sure you have updated initramfs (for all kernels in your rootfs)
Statistics: Posted by redvli — Mon Sep 02, 2024 5:44 pm