LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
Search this Thread
Old 05-23-2007, 08:06 AM   #1
hanspb
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Ubuntu
Posts: 22

Rep: Reputation: 15
Unreadable SD memory card


I have a TwinMOS Ultra-X 1 GB SD memorycard in my camera that has become corrupted. As far as I have found out it should be possible to recover the pictures on the card, but this would involve copying the card to the hard drive using dd. The problem is I can't copy it. When I try to copy with

Code:
dd if=/dev/sda of=minnekort.img bs=512
dd just hangs. If I use /dev/sda1 instead of /dev/sda, I get the following:

Code:
dd: opening /dev/sda1: No such file or directory
The drive is sda, and the partition on it should be sda1, but it seems not to exist. However,

Code:
hpb@HPlaptop:~$ cat /proc/partitions|grep sda
gives out

Code:
 8     0     980992 sda
 8     1     980864 sda1
so sda1 seems to be there.

I really want to solve this, do you experts have any ideas?
This is on Ubuntu 6.10, with kernel 2.6.17-11-386.
 
Old 05-23-2007, 10:58 AM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
I've used this program successfully in the past. It hasn't been updated in a while, and I'm not sure what the license is, other than it is freeware (the source has a copyright for the author, but no license).

Give it a try.
 
Old 05-23-2007, 02:44 PM   #3
hanspb
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Still no luck. It seems like the card is not readable at all. Recover just hangs when I try

Code:
recover /dev/sda
just as dd does.
 
Old 05-24-2007, 08:52 PM   #4
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 202

Rep: Reputation: 30
How about dd_rescue
or ddrescue

I haven't tried both though...
 
Old 05-28-2007, 11:16 AM   #5
hanspb
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
I tried the Gnu ddrescue, same thing, it just hangs.
 
Old 06-01-2007, 08:50 AM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I assume you can't mount the card and see anything of the filesystem.

Maybe try the 'seek' option on dd to skip some blocks before attempting to read?

If the hardware inside the SD card has failed I have no idea what to do Try a different card reader?

Some electronic components will recover temporarily after being put in the freezer for while. I have used this with a video card, and have seen reports of it working with hard drives. Never with a memory card tho'. Maybe a last resort... Avoid moisture and condensation of course.
 
  


Reply

Tags
corrupt, memory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
flash card / memory card readers and linux? Frelov Linux - Hardware 11 08-02-2006 04:37 PM
Memory Card LinxNew Linux - Laptop and Netbook 6 04-27-2005 08:42 AM
Memory Card! shayan_tabrizi Linux - Software 1 07-23-2004 07:03 AM
RH 8.0 Mapping Virtual Memory to get access to VMIC Reflective Memory PCI card. Merlin53 Linux - Hardware 0 05-05-2003 12:50 PM
memory stick / CF memory card reader X-dazed Linux - Newbie 1 01-21-2003 12:32 AM


All times are GMT -5. The time now is 01:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration