Oddbean new post about | logout
 @c721880c yeah they do all the time.. that is the weakest point of a raspberry pi.. mine gets corrupt every few months when there is too much power outages in my 3rd world country... But of course Raspberry Pi 4 and CM4 has USB3 ports and they can do USB boot hence they you can use faster USB drives and SSDs.. This one looks like a Raspberry Pi 1 so no option other than SD card. 
 @e1b28ac6 ended up installing latest Raspberry OS on a brand new memory card and copying the Python code over from the old card, which was failing but still readable.

then, to be on the safe side, i cloned this card to another card as a backup, since he had two brand new ones, and tested that both cards were booting and running the software.

it took 3 hours to fix. 
 @c721880c @e1b28ac6 
Raspberry Pi Debian images:
https://raspi.debian.net/
I used that instead of Raspberry OS 
 @km @c721880c Generally a bad power source is the number 1 reason behind a malfunctioning raspberry pi... it has to have 5 volts of power if it falls below that it can malfunction including corrupting the SD card... Not all mobile USB chargers provide exactly 5 volts of power... 
 @e1b28ac6 @c721880c 
I have been running web servers in many years without fans and heat sinks 
 @km @c721880c ok fine heating is not a common issue if raspberry pis don't do any demanding work.. lol but power is a very common issue. 
 @e1b28ac6 @c721880c 
I run Akkoma on my Raspberry Pi
https://docs.akkoma.dev/stable/ 
 @e1b28ac6 @c721880c 
one man instance, works fine from my desk at home 
 @km @c721880c I generally overclock my raspberry pi 4 to 2GHZ and the GPU to 750 MHZ for a smoother web browsering experience... I use my Pi4 as a second screen and a media center... beyond 2GHZ my RPI 4 which is an older model from 2018 becomes quite unstable... Because of that it easily overheats in its case without a heat sink and a tiny fan... I generally provide it with a 5 volt 3 amp supply... basically a fast charger. But not all fast chargers work and for many Pi complains undervoltage. 
 @km @c721880c Pi 4 can do 1080p at 30 fps but it cannot do 1080p at 60 fps... I generally keep it at 720p at 60 fps. 
 @e1b28ac6 @c721880c 

I tried Raspberry Pi with Manjaro once, that was awful

headless servers work fine 
 @km @e1b28ac6 ah man, the shop talk 
 @km @c721880c For desktop use Raspberry OS is the most optimized and best in my experience... not even Ubuntu .. Manjaro I tried it was straight awful as most of the apps in AUR are for x86_64 CPU. 
 @km @c721880c But the biggest issue with Raspberry OS is that it won't get the updated Debian base until several months... last time it remained stuck to Debian 10 for several months until finally it updated to Debian 11 base... Same now in the case of Debian 12. It won't be officially updated for some time. 
 @e1b28ac6 @c721880c 
this gives you Debian 12
https://raspi.debian.net/