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

Troubleshooting • Re: Raspberry Pi 3b hangs after upgrade from buster to bookworm

$
0
0
Some update on this.

As far as I remember when I originally installed the Pi 3b with a root partition on a USB drive it was not possible to directly boot from USB i.e. I created an image on the SDcard copied to the USB and change the cmdline.txt to point to the rootfs on the USB. So I re-imaged my sdcard with the latest image from https://downloads.raspberrypi.com/raspi ... m64.img.xz and only copied /boot onto the USB and run apt upgrade with the USB. I did this to keep the rest of my packages in place using apt upgrade to get the latest of them.

This basically worked, but I got a version mismatch as the image is newer than the repository

The image is -v8

Code:

#uname -aLinux raspberrypi 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-16) aarch64 GNU/Linux
but the repository is -v7

Code:

#dpkg -l "linux-image*" Desired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)||/ Name                           Version                   Architecture Description+++-==============================-=========================-============-============================================un  linux-image                    <none>                    <none>       (no description available)ii  linux-image-6.12.47+rpt-rpi-v7 1:6.12.47-1+rpt1~bookworm armhf        Linux 6.12 for Raspberry Pi v7, Raspberry Piii  linux-image-rpi-v7             1:6.12.47-1+rpt1~bookworm armhf        Linux for Raspberry Pi v7 (meta-package)


I used the archives which were in the image i.e.

Code:

# grep -v ^# /etc/apt/sources.list /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list:deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware/etc/apt/sources.list:deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware/etc/apt/sources.list:deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware/etc/apt/sources.list.d/raspi.list:deb http://archive.raspberrypi.com/debian/ bookworm main
To get it fully working I had to copy also the /lib/modules/...-v8/ directory from the SDcard to the USB.

I assume I did it the wrong way, but can someone enlighten me how it should be done ?

BTW. This seem to be stable for now.

Thank you
Markus

Statistics: Posted by huaraz — Fri Jan 02, 2026 7:20 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles