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
- 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
May be interested
- 3 ways to edit file boot / config.txt on Raspberry Piwhat is the fastest way to access the file config.txt in the / boot directory / when raspberry is still running? if you have to turn off to get back the microsd card, how will it be edited?
- How to start Raspberry Pi 3 from USBraspberry pi is a great, versatile software suite, with a variety of capabilities like running a media center or using as a radio.
- Why should people try Raspberry Pi 4?the new raspberry pi 4 has been released, but do you need to upgrade? is raspberry pi 4 really offering more features than the previous raspberry pi 3 b +?
- 4 ways to set up Raspberry Pi as a media serverwhich media center application should you install on the sd card of the raspberry pi? the following article will provide some options and guide you to install them now.
- How to Install Retropiethis wikihow teaches you how to install retropie, a video game emulator portal, on your raspberry pi. retropie can be installed on any raspberry pi model, but the developers recommend using a raspberry pi 3 model b+ or better for best...
- Raspberry Pi AI Kit: Bring AI to Raspberry Pithe raspberry pi ai kit is essentially raspberry pi's new m.2 hat+ board integrated with the hailo-8l acceleration module.
- Learn Pi Imager, How to Use Raspberry Pi Imagerthe raspberry pi foundation recently released a new application for recording sd cards for the raspberry pi. the new program, called raspberry pi imager, launches march 5, 2020.
- How to use Raspberry Pi Imager to install Raspberry Pi OSraspberry pi foundation recently released a new app for burning sd cards for raspberry pi. the new program, called raspberry pi imager, launched on march 5, 2020.
- 5 ways to make good use of Raspberry Pi 4the latest raspberry pi 4 has the strongest hardware version, opening up completely new categories of what you can do with the application.
- 7 best Raspberry Pi 4 casesalthough the raspberry pi 4 is quite small, that doesn't mean you shouldn't equip it with an appropriate 'home'. here are the 7 best raspberry pi 4 cases you can buy right now.