-
- Posts: 1
- Joined: Wed Mar 22, 2023 4:01 pm
restore raspberry pi data
due to high power supply my raspberry pi is not working(cannot boot) but the sd card was intact. now how can I restore my important program(python programs) from the sd card!! pls help
Re: restore raspberry pi data
If it's important you'll have a backup you can restore it from won't you?
If not, a Linux computer and a USB SD card reader should do the job.
That Linux computer could be another Pi or a PC (or Intel Mac) running a live USB/CD/DVD distro like the one found here.
If not, a Linux computer and a USB SD card reader should do the job.
That Linux computer could be another Pi or a PC (or Intel Mac) running a live USB/CD/DVD distro like the one found here.
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
Re: restore raspberry pi data
Do not overlook the fact that most computers run MS Windows and that OS cannot read Linux file systems unless extra software is installed.saradean90 wrote: ↑Thu Mar 23, 2023 5:07 amIf your Raspberry Pi is not working due to high power supply but the SD card is intact, you can remove the SD card from the Raspberry Pi and insert it into a computer with an SD card reader. From there, you can access the files on the SD card and copy any important Python programs to the computer. Once you have the programs saved on your computer, you can transfer them to a new Raspberry Pi or a repaired one once you have resolved the power supply issue.
Quis custodiet ipsos custodes?
Re: restore raspberry pi data
Beat me to it.

Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
Re: restore raspberry pi data
Windows? Install Linux along side and dual boot. Eventually you will complete the upgrade to full Linux.
From my experience of working with a Pi Zero, you need a second Linux for help. I use a Pi 4 with keyboard, screen, etc to develop for Zero etc. I also have an old notebook loaded with Linux Mint. The other machine with a big SSD can store multiple images as backups. in Linux, the backup images can be mounted to view the files, the same as looking at the files on the microSD card.

From my experience of working with a Pi Zero, you need a second Linux for help. I use a Pi 4 with keyboard, screen, etc to develop for Zero etc. I also have an old notebook loaded with Linux Mint. The other machine with a big SSD can store multiple images as backups. in Linux, the backup images can be mounted to view the files, the same as looking at the files on the microSD card.
Re: restore raspberry pi data
In my experience all that's really needed is a second SD card with a clean default RPiOS on it and a USB card reader. That'll let you fix most problems with an ext4 file system or its contents (bad fstab entry; broken autostart or .bashrc; etc). No need to install Linux along side or in place of windows.peterlite wrote: ↑Fri Mar 24, 2023 11:01 pmWindows? Install Linux along side and dual boot. Eventually you will complete the upgrade to full Linux.![]()
From my experience of working with a Pi Zero, you need a second Linux for help. I use a Pi 4 with keyboard, screen, etc to develop for Zero etc. I also have an old notebook loaded with Linux Mint. The other machine with a big SSD can store multiple images as backups. in Linux, the backup images can be mounted to view the files, the same as looking at the files on the microSD card.
Oh, and only for the zero series a USB OTG cable/adapter/shim and, maybe, a USB hub. A hub may also be desirable for an A/A+/3A+.
If you must use a "real" PC for recovery use a live Linux CD/DVD/USB - there is no need to install it.
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
Re: restore raspberry pi data
I find that small config errors, like following any instructions not specifically written for bullseye, can be difficult to track back. That is why I make one little change then image it. Comapring multiple image sis easier on a bigger machine with meld or similar.second SD card with a clean default RPiOS on it and a USB card reader
Have not tested the Zero 2 as I cannot buy one. The Zero and Zero W are so slow I would not perform that type of investigation on a Zero. Same with copying data. Much easier on a Pi 4 set up as a desktop.the zero series