Troubleshooting Raspberry Pi not reading SD card
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.
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
Compare Saturation and Vibrance in Photoshop Lightroom Toshiba Z930 is the best ultrabook rated Instructions on how to convert Live Photos to still images on iPhone The easiest way to connect speakers to TVs How to shoot money Mobi, Mobifone phone transfer How to have friends upload videos to your YouTube