RPi-Distro / raspi-config

Configuration tool for the Raspberry Pi
Other
565 stars 206 forks source link

Upgraded to bookworm (Raspbian 12), "Overlay File System" now fails to enable #219

Closed ElTopo closed 1 year ago

ElTopo commented 1 year ago

I use raspi-config to enable/disable "Overlay File System".

raspi-config worked well on bullseye (Raspbian 11).

After I upgraded to bookworm (Raspbian 12), I can't enable Overlay file system.

With raspi-config GUI, when I tried to enable overlay file system, raspi-config fails with the screen:

The boot partition is currently writable. This cannot be changed while an overlay file system is enabled.

When I tried command sudo raspi-config nonint do_overlayfs 0 I got the following errors: update-initramfs: Generating /boot/initrd.img-6.1.21+ grep: /boot/config-6.1.21+: No such file or directory W: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip grep: /boot/config-6.1.21+: No such file or directory E: gzip compression (CONFIG_RD_GZIP) not supported by kernel update-initramfs: failed for /boot/initrd.img-6.1.21+ with 1. mv: cannot stat '/boot/initrd.img-6.1.21+': No such file or directory

raspi-config version: 20230214 Raspbian: bookworm (12) kernel version: Linux rpi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux

ElTopo commented 1 year ago

Further inspection found that this was not a bug from raspi-config, but one of /usr/bin/unmkinitramfs from package "initramfs-tools-core/testing,now 0.142". Reverted to "initramfs-tools-core/stable,now 0.140", and raspi-config works again. Case closed.