Skip to content

New version of RPI-OS (bookworm 6.6.62) does not run /etc/rc.local, auto-expand fails #313

@zackwoodruff

Description

@zackwoodruff

pishrink.sh: An existing /etc/rc.local was not found, autoexpand may fail...

PiShrink v24.10.23 - https://github.com/Drewsif/PiShrink

pishrink.sh: Gathering data
pishrink.sh: An existing /etc/rc.local was not found, autoexpand may fail...
grep: /tmp/tmp.54FNEhHjFY/etc/rc.local: No such file or directory
Creating new /etc/rc.local
pishrink.sh: Checking filesystem
rootfs: 112068/1860768 files (0.2% non-contiguous), 1280871/7659648 blocks
resize2fs 1.46.5 (30-Dec-2021)
pishrink.sh: Shrinking filesystem
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /dev/loop7 to 1237806 (4k) blocks.
Begin pass 2 (max = 193722)
Relocating blocks             XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 3 (max = 234)
Scanning inode table          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 4 (max = 10271)
Updating inode references     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/loop7 is now 1237806 (4k) blocks long.

pishrink.sh: Zeroing any free space left
pishrink.sh: Zeroed 200M
pishrink.sh: Shrinking partition
pishrink.sh: Truncating image

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions