Troubleshooting Raspberry Pi not reading SD card
On the first boot, the Raspberry Pi needs an SD card with the operating system on it. If not, you cannot go further.
Many Pi boards come with a microSD card and an NOOBS (New Out Of the Box Software) installer. Of course, you can also have your own standalone image. Whichever option you choose, it is recommended that you use an SD card of 8GB or higher.
But the most important thing is to use equipment from a trusted SD card manufacturer. When booting you will know that there is a problem with the SD card, if the red LED is flashing. In addition, a frequently blinking green LED (3 to 8 times) also indicates a problem with the card.
How to troubleshoot SD card on Raspberry Pi?
1. Mount a new OS image
- Format the SD card in another PC, using SDFormatter. (If formatting fails, the card is damaged.)
- Load a 'clean' operating system or image.
- Save and insert the card into the Raspberry Pi to see if it works.
This is the recommended standard solution to fix a faulty microSD card. However, many users complained that the Pi problem of not recognizing the card happened too often and they had to reinstall the new image many times.
This is annoying! That's why the next solution can be helpful, but only after the first successful boot.
2. Make a read-only copy of the SD card
- Copy the Raspberry image to the SD card.
Boot as usual from the card, but without extending the file system. Set time zone and international setting.
- Run the following command and press p to export the current partition table:
sudo fdisk / dev / mmcblk0
Then enter the following commands:
- Modify / etc / fstab as follows:
- Run sudo partprobe to recognize the partition.
Format new partitions with:
sudo mkfs –type ext4 / dev / mmcblk0p3
- Reboot.
If you later need to make changes to the system, you can re-mount the partitions read-only with write permission:
sudo mount -o remount, rw / dev / mmcblk0p2
Additional information
- Users have reported that their SD card works when inserted into another Raspberry Pi board - usually an older version than the non-bootable version. Finally, they solved the problem with a new card.
- Sometimes, just taking out the SD card and restarting it can fix the problem.
- The SD card's plastic holder can be an issue as some Pi versions are very 'picky' about these details.
You should read it
- What is the Raspberry Pi and how is the Raspberry Pi used?
- How to backup Raspberry Pi
- How to add an ADC to Raspberry Pi: What you need to know
- Raspberry Pi Zero vs Model A and B, how are they different?
- How to start Raspberry Pi 3 from USB
- Why should people try Raspberry Pi 4?
- Learn Pi Imager, How to Use Raspberry Pi Imager
- How to use Raspberry Pi Imager to install Raspberry Pi OS
- 5 ways to copy data from Raspberry Pi to PC
- How to use the advanced options of Raspberry Pi Imager
- 5 ways to make good use of Raspberry Pi 4
- How to Get Started with the Raspberry Pi
Maybe you are interested
How to send business cards on Zalo, introduce friends to make friends
8 Ways to Fix Can't Add Apple Pay Card on Apple Watch
Intel Graphics Software Launched: Comprehensive Toolkit for Managing Intel Graphics Cards
4 reasons eSIM is more secure than physical SIM card
Nvidia discontinues one of its most powerful graphics cards
How to use the new summary card in Gmail