Consider a minimal rescue kernel as /boot/vmlinuz
Now that we switch to using the installed kernel directly (instead of copying to /boot/vmlinuz
) we could use that location for a minimal rescue kernel that:
- has a frame buffer to show an error
- exports
/dev/ttyACM0
so one can get access / unlock the initramfs - has everything needed built in (or creates the initramfs including the modules in the same step).
In order to safe space we'd want to use a minimal defconfig (hence filing at the kernel side)
boot.scr
is already equipped for booting such a thing when kernel/initramfs are missing.