pi@raspberrypi:~ $ sudo pi-boot-switch -I
/usr/local/sbin/pi-boot-switch: line 304: role[$currentBoot]: bad array subscript
# bullseye
pi@raspberrypi:~ $ mount | grep boot
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
# bookworm
pi@raspberrypi:~ $ mount | grep boot
/dev/sda1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
Using latest Raspberry Pi OS image (Debian bookworm):
https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2023-10-10/2023-10-10-raspios-bookworm-arm64-lite.img.xz
When running
pi-boot-switch -I, I get the following error:This seems caused by "boot" not mounted to
/bootanymore but to/boot/firmware, see comparison with bullseye: