Making Debian or Fedora persistent live images

When you download a 'live' ISO, dd it to a USB drive, you notice that all your tweaks or installed packages vanish after a reboot. If you think about how most such 'live' ISOs work, it becomes apparent why: $ parted -s Fedora-Xfce-Live-44-1.7.x86_64.iso print free | grep '^[PN ]' Partition Table: gpt Number Start End Size File system Name Flags 1 32.8kB 2897MB 2897MB ISO9660 hidden, msftdata 2…