Switch Debian from legacy to UEFI boot mode

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 on Debian 7, Debian 8 or Debian 9.

Read more online or download a pdf-rendition .