Then, we'll install a kernel source tree (to the dummy root ... This script, which you can customize as required, when executed will locate and mount the legacy image boot partition's filesystem, load ...
This note explains how to switch a legacy boot Debian/Ubuntu system into a UEFI boot system. Typical use case: switch a legacy boot installation into an UEFI one, reinstall a broken UEFI boot loader ...