I have to hard reset my rpi4 2-3 times before it will boot. I thought maybe my sdcard was failing, so I copied the image to a new card, didn’t make a difference. Any ideas what would cause the boot process to intermittently hang? I looked at the core logs and haven’t seen anything out of the ordinary. This is pretty annoying because I can’t even restart just HA core, I can’t reboot host. I have to pull the power plug, boot, usually doesn’t work, pull power again, boot might work, and by the 3rd try atlest it will work. I’ve waited a few hours before to see if it will eventually boot, nothing.
You have a spare sd card? Try a fresh install and see if that has the same issue.
Take a backup prior and copy the backup across to the fresh install works, and see if you continue to have issues.
I know this doesn’t help but I am running a RP4 for over 2 years with the same SD card with no problems (it’s on a UPS).
Have you tried Raspberry Pi Power Supply Checker?
I have run into two problems with the Pi:
- Having a hub plugged in on first boot (seems to work fine after a fully successful boot, though)
- Insufficient power supply, but that was causing reboots not hangs.
So dangerous.
A cheap USB thumb drive would help so much. And it’s stupid easy to move to with the snapshot facility. RPi4 can boot to this directly if there is no SD card inserted.
There’s nothing ‘dangerous’ with running on a good SD card. Modern high endurance type cards use the same memory chips than SSDs and do comparable wear leveling. They’re miles ahead of any USB thumbdrive, especially cheap ones. Using a cheap USB key to run an OS on is a sure fire way to corrupt your data.
Make sure to buy a good high endurance SD card. Don’t buy them on Amazon, Ebay or Ali, they’re full of fakes. Buy them in your local brick’n’mortar store. Don’t take the cheapest one you can find. Don’t buy the smallest card that can just about hold HA. Buy a larger one with plenty of free space. The more free space it has, the better the wear leveling is going to work. And use a good power supply. The same rules apply here (prioritize quality over cheap price).
Plus I have excellent backups that I test monthly.
I’m musing the pwoer supply that came with my cannakit, the checker entity says “ok”
I tried a fresh image, seems to boot reliably
I have the same issue. Reboots several times before finally booting successfully.
Running on a VirtualBox on Windows.