Pi 4 8GB won’t boot after update
Exposition
Hope someone can help me recover my system as it does not appear to be booting after an update.
I have a Raspberry Pi 4 8GB running DietPi that I installed a few years ago. I’ve installed Open Media Vault and several Docker containers on it. The system was intended to be completely headless, and I’ve been able to SSH into it to run updates without issues.
The other day I was updating my Pis, which are all running DietPi, and I ran dietpi-update. The first 2 Pis updated and rebooted without any issues, and so in my infinite wisdom, I decided it was unnecessary to create a backup before updating the final NAS server. I knew something was wrong when the server didn’t come back up after 5 minutes.
I initially assumed that I had fried the micro SD card and I would have to rebuild the system. However, when I went to see if I could recover any data from the card, I discovered that the entire file system seemed to be intact. Intrigued by this discovery, I plugged it into my Debian laptop and chrooted into the drive to find that everything was where it should be.
Hopeful that I could recover everything, I ran dietpi-backup and saved the backup to a flash drive. With a fresh install of DietPi on a new SD card, I recovered that backup, and all my services came back to life! I saw a banner that recommended rebooting after the update, and so I did. The Pi did not come back on after the reboot.
To make it more confusing, I tried plugging in a monitor and setting AUTO_SETUP_HEADLESS=0 in the dietpi.txt to see if I could debug whatever was booting. The Pi lights up and appears to be running; however, no services start, and no HDMI output is displayed. My monitor seems to be picking up a signal, but the screen is blank. Now that I’m out of ideas, I’m hopeful someone here can point me in the right direction.
I have searched the existing open and closed issues
Required Information
- DietPi version |
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=8
G_DIETPI_VERSION_RC=0
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’ - Distro version | bullseye 0
- Kernel version | Linux debian 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux // Ran from chroot
- Architecture | arm64
- SBC model | RPi 4 Model B (aarch64)
- Power supply used | Raspberry Pi 15W USB-C Power Supply
- SD card used | SanDisk Extreme PLUS 64 GB
Steps to reproduce
- Ignore warnings and run updates without making backups
- Have an unknown issue happen during the update
- Reboot system
Expected behavior
- System boots and starts services such as SSH and webservers
Actual behaviour
- Pi appears to turn on, however it only displays a black image to the screen and system services do not appear to start
- ACT LED flashes erratically indicating it may be reading the SD card then goes into a loop of quickly flashing once every 5 seconds
I’m happy to provide any output requested.
Thank you in advance for any advice and commands.
/var/tmp/dietpi/logs/dietpi-update.log (26.0 KB)