mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 15:36:18 -05:00
The persistence partition is created immediately after the ISO partition ends (1-MiB aligned). When `wrolpi-usb.sh upgrade` overwrites the ISO partition with a future, possibly-larger ISO, growth past the current ISO size would overwrite persistence-partition sectors. Reserve 8 GiB between them on first boot. Future ISO releases up to roughly 2x the current size (~3.3 GB) can be written into that gap without touching persistence. The cost is ~8 GiB of persistence the user can't reclaim. On a typical 128 GB USB this is ~6% of total capacity, which is comparable to filesystem overhead and rounding loss. Existing USBs flashed before this commit have no headroom — they need a one-time backup-and-reflash to pick it up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| hooks/normal | ||
| includes.binary | ||
| includes.chroot | ||
| package-lists | ||