LittleNooby
Posts: 15
Joined: Sat Sep 19, 2015 1:12 pm

PI won't read that SD card

Sat Sep 19, 2015 1:37 pm

Hi,

I've got a set of two identical SD cards, I've bought them both in the same package. One can be used to boot PI, the other can't. The one that can't could in the past.
How can I make the second to boot the PI again?
How can I know what prevent Pi to read the card?

[Optional] I didn't use my PI for 2 years, I tried and failed to boot it since yesterday until a few minutes ago. Thanks to this forum, I found the answer, trying a different SD card. I knew the SD card was the problem because the ACT led wouldn't blink (it was as there was no SD card at all in the slot). But I don't understand, that SD card seems to work fine. I can browse the files without any problem. I'm currently using it with my camera.

I'd really like to know because I don't want the problem to occur again.

Thanks for the help.

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: PI won't read that SD card

Sat Sep 19, 2015 3:20 pm

Maybe you were not in the habit of shutting down properly. If you don't but merely remove power, the file system on the card can be corrupted and fail to boot.

You should be able to use the card again by installing an OS or NOOBS from scratch.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5621
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: PI won't read that SD card

Sat Sep 19, 2015 4:46 pm

drgeoff wrote:Maybe you were not in the habit of shutting down properly. If you don't but merely remove power, the file system on the card can be corrupted and fail to boot.
You should be able to use the card again by installing an OS or NOOBS from scratch.
+1
@LittleNooby OOC and "just for completeness" what model of Pi do you have?
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

LittleNooby
Posts: 15
Joined: Sat Sep 19, 2015 1:12 pm

Re: PI won't read that SD card

Sun Sep 27, 2015 5:22 pm

Hi, I did install NOOBS from scratch (on both of them actually), I have the model B Rev2.

I may have the habit to remove the power... I thought it was like that as it doesn't have a power button T_T.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: PI won't read that SD card

Sun Sep 27, 2015 6:05 pm

LittleNooby wrote:Hi, I did install NOOBS from scratch (on both of them actually), I have the model B Rev2.

I may have the habit to remove the power... I thought it was like that as it doesn't have a power button T_T.
It is probably corrupted. You need to start fresh.

I've never had any corruption mainly because I always shutdown normally. The Pi is like any other computer in that if you remove the power, it may be in the middle of something and you may corrupt the SD card. The best way is to shut it down right. In the GUI, there should be a shutdown option in the menu, or in the terminal you just need to do:

Code: Select all

sudo halt
Once its done, then you can remove the power. It is also a good idea to make regular backups if you have important files.
There are 10 types of people: those who understand binary and those who don't.

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: PI won't read that SD card

Mon Sep 28, 2015 9:15 am

If you put the SD card down on a flat surface does it seem a little bent?

The older models of PI have no card support at the back of the SD card reader and the card can bend over time so that it doesn't meet all of the contact points. when placed in a card reader that supports the back the card reads OK but when in a Pi it bends out and doesn't read.

There are many solutions, including using a clothes pegs (pushing the card into contact), gluing a bit of old credit card to the back, using an SD to micro SD adapter, replacing the card reader.

Image
Doug.
Building Management Systems Engineer.

stefanw1337
Posts: 2
Joined: Mon Sep 28, 2015 11:06 pm

Re: PI won't read that SD card

Mon Sep 28, 2015 11:14 pm

I'm having a similar problem. I've got this 8gb card that had pre-installed NOOBS. Both Micro SDHC, but the one that's not working is a 16gb, only difference as I can see. Now I took and made a .img file from the pre-installed one with the Win32DiskImager program, I swapped out and did write instead of read, and it's still not working. I've also tried going Rasbian directly, but the lights on my Rasberry Pi 2 Model B is still just glowing red/green no matter what I do. I've also tried formatting it with the SDFormatter(it actually doesn't support "Full format(erase)".

Some help please?

LittleNooby
Posts: 15
Joined: Sat Sep 19, 2015 1:12 pm

Re: PI won't read that SD card

Wed Nov 04, 2015 10:11 pm

I'm sorry I didn't reply for such a long time but I took for granted my SD Card was corrupted because of my habit to remove the power cord. I should have been more explicit, sorry.

Today my second SD card ended up corrupted after I removed the power cord... For my defense, the screen freezed for an hour and it didn't answer to TCP handshake.

So, is it possible to get a corrupted SD card back to work? I'm not speaking of repairing but doing a fresh install. Because I did try to start fresh with a dd command + backup.img, gparted + noobs and Xbian installer; None of them made a readable SD card. I assume formatting doesn't repair the damage.

I will try some testdisk tools but I'm not exactly an expert at this.


Again, thanks for the help.

I did try

Code: Select all

root@adrienLT:/home/adrien/btrfs-progs#./btrfs check --super 1 /dev/mmcblk0p2
using SB copy 1, bytenr 67108864
couldn't open because of unsupported option features (10).
Couldn't open file system
You could use that I guess

Code: Select all

root@adrienLT:/home/adrien/btrfs-progs#uname -a
Linux adrienLT 3.19.0-31-generic #36-Ubuntu SMP Wed Oct 7 15:04:02 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@adrienLT:/home/adrien/btrfs-progs#./btrfs --version
btrfs-progs v4.2.3
root@adrienLT:/home/adrien/btrfs-progs#./btrfs fi show
Label: 'xbian'  uuid: b7d9263d-1687-4f5b-9a4d-c74ed4e28b8c
	Total devices 1 FS bytes used 1.69GiB
	devid    1 size 7.10GiB used 3.19GiB path /dev/mmcblk0p2

btrfs-progs v4.2.3
root@adrienLT:/home/adrien/btrfs-progs#./btrfs fi df /dev/mmcblk0p2
ERROR: can't access '/dev/mmcblk0p2'

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: PI won't read that SD card

Wed Nov 04, 2015 10:39 pm

Try formatting the cards in your camera.

LittleNooby
Posts: 15
Joined: Sat Sep 19, 2015 1:12 pm

Re: PI won't read that SD card

Thu Nov 05, 2015 12:20 am

Formatting with the camera didn't give better results sadly.

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: PI won't read that SD card

Thu Nov 05, 2015 1:39 pm

LittleNooby wrote:I'm sorry I didn't reply for such a long time but I took for granted my SD Card was corrupted because of my habit to remove the power cord. I should have been more explicit, sorry.

Today my second SD card ended up corrupted after I removed the power cord... For my defense, the screen freezed for an hour and it didn't answer to TCP handshake.
Examine your assumption: "I corrupted the SD Card by removing the power".

The SD card now isn't recoverable by any known means?

I would instead posit the supposition that the SD card catastrophically failed, causing the lockup that you experienced.

Replace the card with a new one, they aren't very expensive and are widely available.

LittleNooby wrote:So, is it possible to get a corrupted SD card back to work? I'm not speaking of repairing but doing a fresh install.
Normally they are, but it seems that you have tried all the standard methods, bin it and start with a new one.
Doug.
Building Management Systems Engineer.

Return to “Troubleshooting”