I have installed Rasperry Pi OS in 2021. At that time the firmware was under /boot, in particular /boot/firmware has not existed and doing in-place upgrades have not created /boot/firmware. My /etc/os-release is "Raspbian GNU/Linux 12 (bookworm)".
In November 2024 I wanted to update to the latest kernel to see if I problem I had was resolved. It was not, but I have forgotten the exact command I have typed for this kernel update, I think it contained a hash or commit-id of the desired Kernel.
Now I want to switch back to the stable kernel 6.6.51. https://www.raspberrypi.com/documentati ... rs/os.html suggests calling
but calling it prints
and calling it again prints
Executing again the first command returns the initial error:
So, how to downgrade the kernel/firmware to a stable version, if my system does not have /boot/firmware ?
In November 2024 I wanted to update to the latest kernel to see if I problem I had was resolved. It was not, but I have forgotten the exact command I have typed for this kernel update, I think it contained a hash or commit-id of the desired Kernel.
Now I want to switch back to the stable kernel 6.6.51. https://www.raspberrypi.com/documentati ... rs/os.html suggests calling
Code:
apt updateapt install --reinstall raspi-firmware
Code:
root@raspberrypi:~# apt install --reinstall raspi-firmwareReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSuggested packages: bluez-firmwareThe following NEW packages will be installed: raspi-firmware0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Need to get 12.8 MB of archives.After this operation, 22.4 MB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian bookworm/main armhf raspi-firmware all 1:1.20250326-1 [12.8 MB]Fetched 12.8 MB in 16s (808 kB/s)Selecting previously unselected package raspi-firmware.(Reading database ... 59466 files and directories currently installed.)Preparing to unpack .../raspi-firmware_1%3a1.20250326-1_all.deb ...Unpacking raspi-firmware (1:1.20250326-1) ...Setting up raspi-firmware (1:1.20250326-1) ...stat: cannot read file system information for '/boot/firmware': No such file or directoryError: missing /boot/firmware, did you forget to mount it?dpkg: error processing package raspi-firmware (--configure): installed raspi-firmware package post-installation script subprocess returned error exit status 1Processing triggers for initramfs-tools (0.142+rpt3+deb12u1) ...Errors were encountered while processing: raspi-firmwareE: Sub-process /usr/bin/dpkg returned an error code (1)
Code:
root@raspberrypi:~# apt install --reinstall raspi-firmwareReading package lists... DoneBuilding dependency tree... DoneReading state information... Done0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.E: Internal Error, No file name for raspi-firmware:armhf
Code:
root@raspberrypi:~# apt-get full-upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] ySetting up raspi-firmware (1:1.20250326-1) ...stat: cannot read file system information for '/boot/firmware': No such file or directoryError: missing /boot/firmware, did you forget to mount it?dpkg: error processing package raspi-firmware (--configure): installed raspi-firmware package post-installation script subprocess returned error exit status 1Processing triggers for initramfs-tools (0.142+rpt3+deb12u1) ...Errors were encountered while processing: raspi-firmwareE: Sub-process /usr/bin/dpkg returned an error code (1)
Statistics: Posted by dpa — Mon Apr 28, 2025 6:18 am