Raspberry PI Secure Boot with Alpine
Hello,
For now I'm trying to boot a boot.img
file as shown in the documentation here: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#boot_ramdisk
The RPI manages to load boot.img
correctly but when it passes control to the initramfs-init
script I get the following error message:
Mounting boot media failed.
Initramfs emergency recovery shell launched. Type `exit` to continue boot
Sh: can’t access tty: job control turned off
/#
To continue the boot I use the following commands:
/# mkdir /tmp/boot
/# mount /dev/mmcblk0p1 /tmp/boot
/# mount /tmp/boot/boot.img /media/mmcblk0p1
/# exit
Apart from the fact that it does not take into account the headless.apkovl.tar.gz
file, the boot continues normally.
Is there a kernel parameter(s) today that would tell initramfs-init
to mount an .img file?
And if not, a hack that would do it?
Thanks in advance for the help!