[Gllug] Rescuing a memory stick

Alain Williams addw at phcomp.co.uk
Sat Jul 22 15:36:40 UTC 2006


On Sat, Jul 22, 2006 at 03:49:55PM +0100, Richard Jones wrote:
> My brother in law has a 512 MB Sony memory stick on which he has all
> his photos stored for the last N years.  [I think you can probably see
> where this is going ...]  I suggested he stick it into a card reader
> in his Mac and perhaps take a copy of all those photographs.
> Unfortunately that action appears to have (somehow?) corrupted the
> card.  Since it was my suggestion, this has now turned into My
> Problem.
> 
> So I've got the card, and a card reader, and my Linux box, but I
> cannot find any way to just read out the sectors from the card into a
> local file.  (I can reconstruct FAT and JPEGs by hand if necessary,
> but not if I can't even get at the raw sectors).
> 
> When I put the card in I see /dev/sdb appearing as a single 512 byte
> sector.  That sector is obviously corrupt (see the errors below), but
> how can I get USB storage to see the rest of the disk, or at least let
> me read it?
> 
> 'dd' doesn't work - it just fails on the faulty sector and thinks the
> device is 512 bytes long.

What happens if you run:
	fdisk /dev/sdb

??

-- 
Alain Williams
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/

#include <std_disclaimer.h>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list