On Sun, Dec 20, 2020, 9:09 AM Michael Hennebry <hennebry@web.cs.ndsu.nodak.edu> wrote:
On Sat, 19 Dec 2020, Samuel Sieb wrote:

> The possibly easier method is to just do an install directly to the flash
> drive.  Then it's a normal Fedora install that you can customize as you want.
> You could do updates and even full version upgrades on it.

I've got an SD card in an SD card reader.
I never could get persistent overlays to work.
I could do a normal install and boot from it.


livecd-tools can do this.

livecd-iso-to-disk --noverify --format --efi --reset-mbr --overlayfs
--overlay-size-mb 4095 --home-size-mb 4095 --unencrypted-home
/mnt/libvimages/Fedora-Workstation-Live-x86_64-33-1.2.iso /dev/sdX

It will boot UEFI or BIOS. The backing files are limited to 4G because FAT because UEFI.

Another option is btrfs seeding.
https://btrfs.wiki.kernel.org/index.php/Seed-device

The seed is read only. Sprout is read-write, for persistence. All changes go to the sprout. A reset means wiping the sprout. Removing the seed device results in replication, i.e. seed is copied to the sprout. Copy is at the block group level, so compressed extents are not decompressed. Makes for faster replication.


--
Chris Murphy