Common Issues and Solutions¶
This comprehensive troubleshooting guide addresses the most frequent problems Raspberry Pi users encounter. For each issue, we provide detailed symptoms, diagnostic steps, and multiple solution approaches.
Boot Problems¶
Cannot Boot from SD Card¶
Symptoms: - Raspberry Pi doesn't power on at all - Green activity LED doesn't flash - No display output
Diagnostic Steps:
Solutions:
-
Check SD Card Integrity:
-
Re-Flash SD Card:
- Use the official Raspberry Pi Imager
- Select recommended OS
- Use "erase" option before writing
-
Try Different SD Card:
- Use Class 10 or higher
- Stick to reputable brands (SanDisk, Samsung, Kingston)
- 16GB or larger recommended
-
Check Power Supply:
- Use official power supply when possible
- For Pi 4: 5.1V/3A USB-C
- For Pi 3: 5.1V/2.5A micro-USB
- Avoid cheap USB cables
Boot to Rainbow Screen (No OS Load)¶
Symptoms: - Boot starts but stops at rainbow screen - No further boot progress - No errors displayed
Diagnostic Steps: 1. Check if green activity LED flashes after rainbow screen 2. Try to access the Pi via SSH to determine if OS is running without display
Solutions:
-
Check/Replace HDMI Connection:
- Try different HDMI cable
- For Pi 4, use HDMI0 port (nearest power)
- Try different display
-
Force HDMI Configuration:
-
Check bootcode.bin File:
-
SD Card Corruption Fix:
Kernel Panic or Boot Loops¶
Symptoms: - Error messages mentioning "kernel panic" - System continuously reboots - Garbled text during boot
Solutions:
-
Boot in Recovery Mode:
- Hold SHIFT during boot
- Select "Recovery Mode" or similar option
-
Fix File System Errors:
-
Edit cmdline.txt:
-
Last Resort - Clean Install:
- Backup your data
- Re-image SD card
- Restore only essential data
Power Issues¶
Under-voltage Warning¶
Symptoms: - Lightning bolt icon in top-right corner - System throttling/slowing down - Random freezes or reboots - Peripherals (USB devices) failing
Diagnostic Commands:
Solutions:
-
Use Proper Power Supply:
- Raspberry Pi 4: Official 5.1V/3A USB-C
- Raspberry Pi 3: 5.1V/2.5A micro-USB
- Check power supply rating on label
-
Reduce USB Load:
- Disconnect power-hungry USB devices
- Use powered USB hub for multiple devices
-
Check/Replace USB Cable:
- Use thicker gauge cables
- Keep cable length under 1m
- Avoid cheap cables
-
Monitor Power Consumption:
Overheating and Thermal Throttling¶
Symptoms: - Red temperature icon - Slow performance - Spontaneous reboots
Diagnostic Commands:
Solutions:
-
Improve Cooling:
- Add heatsinks to CPU, RAM, and USB controller
- Add fan (5V, connect to GPIO pins)
- Ensure proper ventilation in case
-
Reduce CPU Load:
-
Set Temperature Limits:
-
Monitor Processes Using CPU:
Network Problems¶
Wi-Fi Not Working¶
Symptoms: - No wireless networks appear - Cannot connect to wireless networks - Connection drops frequently
Diagnostic Commands:
Solutions:
-
Check Wi-Fi Country Code:
-
Restart Networking Services:
-
Manually Configure Wi-Fi:
-
Check for RF Interference:
- Change Wi-Fi channel in router
- Move Raspberry Pi away from other electronic devices
- Try 5GHz instead of 2.4GHz if supported
-
Update Firmware:
SSH Connection Failed¶
Symptoms: - "Connection refused" errors - "No route to host" errors - Authentication failures
Diagnostic Steps:
1. Check if Pi is on network with ping raspberrypi.local
2. Verify IP address using router's DHCP client list
3. Try direct connection via Ethernet if possible
Solutions:
-
Check SSH Service Status:
-
Enable SSH via File:
-
Check Firewall Rules:
-
Reset SSH Keys:
-
Check SSH Configuration:
Ethernet Connection Issues¶
Symptoms: - No IP address assigned - Cannot access internet - "Network unreachable" errors
Diagnostic Commands:
Solutions:
-
Restart Network Interface:
-
Set Static IP:
-
Check Cable and Port:
- Try different Ethernet cable
- Connect to different router port
- Look for activity LEDs on Ethernet port
Storage Issues¶
Running Out of Space¶
Symptoms: - "No space left on device" errors - System becoming read-only - Applications failing to save data
Diagnostic Commands:
Solutions:
-
Clean Package Cache:
-
Remove Unused Applications:
-
Clear Log Files:
-
Expand Filesystem:
-
Move Data to External Storage:
File System Corruption¶
Symptoms: - Read-only filesystem errors - Missing or inaccessible files - Boot failures - System freezes
Diagnostic Steps:
Solutions:
-
Perform File System Check:
-
Set Automatic Repair on Boot:
-
Use Read-Only OS for Critical Applications:
- Consider using a read-only file system for mission-critical applications
- Look into "overlay" filesystem options
-
Backup Regularly:
Application and Software Issues¶
Package Manager Errors¶
Symptoms: - "Failed to fetch" errors - "Hash sum mismatch" - "Unable to locate package"
Solutions:
-
Update Package Lists:
-
Change Mirrors:
-
Fix Broken Packages:
Display and Graphics Issues¶
Symptoms: - Screen flickering - Wrong resolution - Black borders around screen - No display output despite booting
Solutions:
-
Configure Display Resolution:
-
Fix Black Border Issues:
-
Force Specific Output Mode:
Hardware Problems¶
GPIO Pin Not Working¶
Symptoms: - No response from connected devices - Inconsistent behavior - Voltage readings not as expected
Diagnostic Steps:
Solutions:
-
Check Wiring:
- Ensure correct pin numbering (GPIO vs physical)
- Check for loose connections
- Use multimeter to test connections
-
Reset GPIO State:
-
Check for Pin Damage:
- Measure voltage with multimeter
- Try different GPIO pins
- Look for physical damage
USB Devices Not Recognized¶
Symptoms: - Devices not appearing in system - Disconnecting randomly - "Not enough power" errors
Diagnostic Commands:
Solutions:
-
Check Power Supply:
- Use higher-rated power supply
- Try powered USB hub
-
Enable Max USB Current:
-
Disable USB Power Management:
Final Troubleshooting Steps¶
If you've tried the specific solutions above and still have issues:
-
Update Firmware and OS:
-
Check Hardware Compatibility:
- Verify peripherals are compatible with your Pi model
- Check Raspberry Pi compatibility list
-
Monitor System Logs:
-
Community Help:
Remember, most Raspberry Pi issues have been encountered and solved by others in the community. Don't hesitate to search online using specific error messages or symptoms!