First off it may not be a dead Pi. It might be a dead SD card or corrupted data on the SD card.
Next, stop trying to boot from it. Booting will involve writes to the SD card and that could cause further data loss.
Without the actual errors you're seeing al we can do is guess as to their cause.
What I suggest is:
Next, stop trying to boot from it. Booting will involve writes to the SD card and that could cause further data loss.
Without the actual errors you're seeing al we can do is guess as to their cause.
What I suggest is:
- Get another SD card (or a USB drive)
- Write a clean RPiOS to it
- Boot from it
- Put the broken card into a card reader
- Connect that to the Pi
- If possible mount its partitions read only. I've no idea how you specify that if using the Desktop and its auto mounter. On RPiOS lite I'd do the following:If you have other USB storage devices connected it likely won't be sda. lsblk will help you identify it.
Code:
sudo mkdir /mnt/boot /mnt/rootsudo mount -o ro /dev/sda1 /mnt/bootsudo mount -o ro /dev/sda2 /mnt/root - Recover your data. (boot partition is under /mnt/boot, root/OS partition is under /mnt/root. User files are under /mnt/root/home
Statistics: Posted by thagrol — Thu Jun 05, 2025 11:59 pm