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 ...