After having problems with corrupted SD cards, (probably because of a read disturb). I decided to boot from a USB drive. I was able to do that by changing the path in
sda2. I Didn't want to do it the other way, (
config.txt), because it was taking 1 minute to boot. As opposed to less than 30 seconds using an SD card for startup.
Everything seems to be working fine, but out of 100 raspberry Pi's I get 1 or 2 that are giving me problems after some time. It's as if someone is unplugging the USB drive (which if you do it it will make the Pi crash). What could cause this, and is there any way for the Pi to recover from it?