Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

Advanced users • Re: Resizing the root ("/") partition on first boot of a bookworm system

$
0
0
It's either in /usr/lib/raspberrypi-sys-mods/firstboot or /etc/init.d/resize2fs_once.
… 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.

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.
Agree, OP's method should continue working regardless.

Statistics: Posted by bls — Sat May 03, 2025 3:23 am



Viewing all articles
Browse latest Browse all 8621

Trending Articles