This is a followup question after
How to Make BIOS/UEFI Flash Drive with Full Disk Encryption
I have followed the answers in this question and created an encrypted full installation of Ubuntu 20.04 in an USB flash drive that booted from either from BIOS or from UEFI configured computers.
Over time I have used this USB flash drive installed Ubuntu in a BIOS only computer and kept it updated with security and other updates. Now the UEFI computer won't boot from this USB drive. When I select Ubuntu from the GRUB it shows me the error:
error file '/vmlinuz-5.8.0-48-generic' not found.
you need to load the kernel first.
This specific kernel is not installed as it was superseded by newer kernels during security and other updates.
How do I regain the UEFI boot functionality for this USB based Ubuntu installation?