Agree, OP's method should continue working regardless.… or /usr/lib/raspi-config/init_resize.sh. But then bookworm introduced /usr/share/initramfs-tools/scripts/local-premount/firstboot. So now it happens in initramfs, which theoretically saves a reboot.It's either in /usr/lib/raspberrypi-sys-mods/firstboot or /etc/init.d/resize2fs_once.
No matter how many times they reimplement it, I think OP's method of sizing manually and then creating a dummy p3 will be safe. You probably want to pre-run resize2fs too, unless the partitioning tool you use does that for you.
Statistics: Posted by bls — Sat May 03, 2025 3:23 am