public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Corrupt xD card with photos
@ 2006-09-11 18:50 Mick
  2006-09-11 20:37 ` Richard Fish
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Mick @ 2006-09-11 18:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2810 bytes --]

Hi All,

I was handed what seems to be a corrupt xD flash card to extract the last 
photo from it.  When the WinXP system at work coughed and died on it 
(couldn't read it) I thought that my Linux would do better.  Anyhow, I've 
inserted it into my Fuji camera and this is what dmesg shows:

===================================================
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: FUJIFILM  Model: USB-DRIVEUNIT     Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
sda: Mode Sense: 07 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
sda: Mode Sense: 07 00 00 00
sda: assuming drive cache: write through
 sda: unknown partition table
sd 2:0:0:0: Attached scsi removable disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
====================================================

Mount fails:
====================================================
$ mount /dev/sda
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
====================================================

and dmesg then shows:
====================================================
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda.
====================================================

This is what fdisk shows:
====================================================
# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sda: 131 MB, 131072000 bytes
5 heads, 50 sectors/track, 1024 cylinders
Units = cylinders of 250 * 512 = 128000 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): 

====================================================

Is there a Linux (or even M$Windoze?) way of me recovering the last photo, 
that doesn't involve reconstructing raw data with a hexeditor?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-09-28 19:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-11 18:50 [gentoo-user] Corrupt xD card with photos Mick
2006-09-11 20:37 ` Richard Fish
2006-09-11 21:37   ` Mick
2006-09-11 21:19 ` Matthias Bethke
2006-09-11 21:50   ` Mick
2006-09-25 21:09     ` Matthias Bethke
2006-09-25 21:54       ` Mick
2006-09-28 18:55         ` Matthias Bethke
2006-09-11 22:37 ` [gentoo-user] " Sven Köhler
2006-09-12  7:26   ` Remy Blank
2006-09-12  8:19     ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox