Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-16-2021, 12:32 PM
|
#1
|
Member
Registered: Sep 2008
Posts: 556
Rep:
|
getting sandisk sd card up and running
I bought a sandisk 32gb extreme pro micro sd card (off ebay) that doesn't work properly but I'd like to get it going. I got a refund without having to return it so I still have it. This sd card shows up as a 2Tb drive in my card reader which is nutty. I have other microsd cards and they all read correctly so I don't think its the card reader. I'm running centos 7. Is there any software I can get that will zap this card or sort it out so it reads and writes correctly? or should I be using a different card reader? if so which one?
I've tried zeroing the card with dd but it ran for 2 days without completion and I ended up just stopping it. gparted live (1.0.0.2) also cannot seem to write to the card. thanks for any pointers.
|
|
|
03-16-2021, 12:37 PM
|
#2
|
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,559
|
Throw it in the bin.
Seriously, I've had the same thing with SanDisk cards, they are notorious for having the cards turn read-only if they detect faults and there's no way back from it.
The fact that your card is throwing so many different errors etc. would indicate it's not worth spending any more time and effort on.
|
|
|
03-16-2021, 12:37 PM
|
#3
|
Member
Registered: May 2013
Distribution: FreeBSD
Posts: 566
Rep: 
|
I have not had this type of issue before but just as a suggestion have you maybe tried fdisk?
|
|
|
03-16-2021, 12:38 PM
|
#4
|
Member
Registered: May 2013
Distribution: FreeBSD
Posts: 566
Rep: 
|
Quote:
Originally Posted by TenTenths
Throw it in the bin.
Seriously, I've had the same thing with SanDisk cards, they are notorious for having the cards turn read-only if they detect faults and there's no way back from it.
The fact that your card is throwing so many different errors etc. would indicate it's not worth spending any more time and effort on.
|
Seems like we posted at the same time so I am assuming fdisk was probably tried already.
|
|
|
03-16-2021, 12:39 PM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,428
|
Do you think we're going to practice wizardry so you can be a cheapskate?It's a dud. Let it go.
|
|
|
03-16-2021, 01:12 PM
|
#6
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
There are fake brand-name SD cards even on Amazon, leave alone eBay. SanDisk seems to be one of favorites for forging.
|
|
|
03-16-2021, 02:05 PM
|
#7
|
Senior Member
Registered: Oct 2003
Posts: 3,016
|
You can try just clearing the mbr with dd:
Code:
# dd if=/dev/zero of=/dev/sdx bs=512 count=1
Replace sdx with the appropriate drive letter. Since you've already tried to zero fill the drive with dd, I assume you know how to properly identify the drive. Probably won't help, but it costs nothing to try. I agree with the others that feel the card is toast.
|
|
|
03-16-2021, 02:18 PM
|
#8
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
|
|
|
03-17-2021, 05:22 AM
|
#9
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,428
|
You know, you might be able to do a fake sdcard putting in no memory at all. It isn't until one is shoved in a machine that folks would find out.
OP, have you any proof there's any memory chip whatsoever in the sdcard?
|
|
|
03-17-2021, 05:24 AM
|
#10
|
Member
Registered: Sep 2008
Posts: 556
Original Poster
Rep:
|
I would never pass on this card to another knowing its current condition. It used to work (kind of) but has stopped working altogether now. I don't like giving up on things until I've tried absolutely everything.
|
|
|
03-17-2021, 06:01 AM
|
#11
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Once upon time when I wasn't aware of this forging I bought five 8 GB SanDisk SD cards from Aliexpress. I had an 8 GB RPi image from another SanDisk SD card and I used dd to put it in one of them - dd ended with an error, the new card was about 20 MB smaller ... Then, two of these cards lost all their capacity within a week. They could take 8 GB at first, but ended up showing their capacity just a few MB. One of these cards still works, years later, it is in my dashcam and gets lots of writes. I'm starting to think they get their hands somehow to chips which didn't pass quality control and use these to make fake SD cards.
|
|
|
All times are GMT -5. The time now is 10:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|