You are not logged in.

#1 2012-01-17 16:11:29

jewnersey
Member
Registered: 2011-12-24
Posts: 41

[solved]help me with data recovery please. superblock problem

I have a microSD card that i was using in my NookColor.  I rooted my tablet (a long time ago) and was installing a new rom yesterday.  after installing the rom and booting the os, the SD card wouldnt mount. So i tried plugging it into my laptop (w Arch and Win7) via a USB dongle and upon trying to mount it in Nautilus it says "Error mounting: mount: /dev/sdb: can't read superblock"  I have tinkered with changing the superblock data and running testdisk but it all fails to find any relevant partition data returning:

Analyse Disk /dev/sdb - 7973 MB / 7604 MiB - CHS 1021 246 62
Geometry from i386 MBR: head=115 sector=50
BAD_RS LBA=778135908 5452195
check_part_i386 1 type 72: no test
BAD_RS LBA=168689522 4399748
BAD_RS LBA=1869881465 5584248
check_part_i386 3 type 79: no test
BAD_RS LBA=2885681152 5679807
check_part_i386 4 type 0D: no test
Current partition structure:
 1 * Sys=72               51018 151 11 125861 218 51 1141509631

Bad relative sector.
 2 * NetWare 3.11+        11060  38 47 137996  44 42 1936028240

Bad relative sector.
 3 * Sys=79               122599  24 30 249535  29 39 1936028192

Bad relative sector.
 4 * Sys=0D               189200  44 25 189203 201 33      55499

Warning: Bad ending sector (CHS and LBA don't match)
Only one partition must be bootable
Space conflict between the following two partitions
 2 * NetWare 3.11+        11060  38 47 137996  44 42 1936028240
 1 * Sys=72               51018 151 11 125861 218 51 1141509631
Space conflict between the following two partitions
 1 * Sys=72               51018 151 11 125861 218 51 1141509631
 3 * Sys=79               122599  24 30 249535  29 39 1936028192
Space conflict between the following two partitions
 3 * Sys=79               122599  24 30 249535  29 39 1936028192
 4 * Sys=0D               189200  44 25 189203 201 33      55499
Backup partition structure
partition_save
Ask the user for vista mode
Computes LBA from CHS for Disk /dev/sdb - 7980 MB / 7611 MiB - CHS 1022 246 62
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sdb - 7980 MB / 7611 MiB - CHS 1022 246 62
file_pread(5,16,buffer,2129936(139/159/51)) read err: Input/output error
file_pread(5,1,buffer,2129936(139/159/51)) read err: Input/output error
file_pread(5,3,buffer,2129983(139/160/36)) read err: Input/output error

and about a million more of these: file_pread(5,3,buffer,2129983(139/160/36)) read err: Input/output error

I ran UFS explorer in win7 and it found a bunch of my files, but then refused to copy anything over claiming that the source files could not be read.

Some more tidbits:

dumpe2fs /dev/sdb | grep superblock
dumpe2fs 1.41.14 (22-Dec-2010)
dumpe2fs: Permission denied while trying to open /dev/sdb
Couldn't find valid filesystem superblock.

anyone know of anything i can do here.  I would REALLY like to get some of my data back.

Last edited by jewnersey (2012-01-17 17:53:28)

Offline

#2 2012-01-17 16:33:29

jewnersey
Member
Registered: 2011-12-24
Posts: 41

Re: [solved]help me with data recovery please. superblock problem

Warning: Incorrect number of heads/cylinder 255 (FAT) != 246 (HD)
Warning: Incorrect number of sectors per track 63 (FAT) != 62 (HD)
   P FAT32                    0   0  1  1021  11 18   15572992 [NOOKCARD]

sees that it is fat32 but tells me its damaged and cant read anything else.


im just gonna keep digging and posting

Offline

#3 2012-01-17 17:29:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [solved]help me with data recovery please. superblock problem

Might I suggest, before you do anything else, that you carefully use dd to make an image of the device by writing all the blocks of the device to a file someplace.

Then, you can copy that file, then use the copy for your experiments.  If something goes awry, just make a new copy and play some more.

http://en.wikipedia.org/wiki/Loop_device
http://en.wikipedia.org/wiki/Dd_%28Unix%29


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2012-01-17 17:53:15

jewnersey
Member
Registered: 2011-12-24
Posts: 41

Re: [solved]help me with data recovery please. superblock problem

thnks .  i definitely should have done that but i managed to pull all the info by reading the card as "non partitioned" .  i think the card is borked because it constantly fails to maintain mounted status... but at least i was able to grab what i needed (the whole time i was scared as **** about losing it, so making that backup wouldve been smart)

Offline

#5 2012-01-19 02:51:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [solved]help me with data recovery please. superblock problem

jewnersey wrote:

...the whole time i was scared as **** about losing it, so making that backup wouldve been smart

<Soapbox Mode>
My thoughts on backups:

It is not backed up unless there are not at least two copies.
A backup is not a backup unless it has been tested.
Backups should not all be in the same location.
There are two types of people, those who have lost critical data, and those who make backups.
</Soapbox Mode>

I am glad you recovered your data.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB