Skip to main content

Thread: TestDisk Mystery


as preface, following testdisk tutorials , scouring forums let me nowhere. found lot of solutions lot of problems, none seem resemble mine enough me solve them.

have corrupted partition table on 32g usb thumb drive. fdisk shows this:

disk /dev/sdd: 31.8 gb, 31750881280 bytes
64 heads, 32 sectors/track, 30280 cylinders, total 62013440 sectors
units = sectors of 1 * 512 = 512 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x23a567f5

doesn't partition table
selected wrong device.

device boot start end blocks id system
/dev/sdd1 ? 1184891080 2320662151 567885536 d unknown
/dev/sdd2 69240904 69240969 33 4 fat16 <32m
/dev/sdd3 2147944456 2152155935 2105740 10 opus
/dev/sdd4 ? 269091841 2419214368 1075061264 6a unknown

partition table entries not in disk order



disk 1 partition - think fat32.

used testdisk try recover structure. initially, get:
disk /dev/sdd - 31 gb / 29 gib - chs 30280 64 32
current partition structure:
partition start end size in sectors

1 * sys=0d 578560 6 9 1133135 52 8 1135771072

warning: bad ending sector (chs , lba don't match)
check_fat: can't read fat boot sector
invalid fat boot sector
2 p fat16 <32m 33809 2 9 33809 4 10 66
2 p fat16 <32m 33809 2 9 33809 4 10 66

warning: bad starting sector (chs , lba don't match)
3 p opus 1048801 0 9 1050857 24 32 4211480

warning: bad starting sector (chs , lba don't match)
4 * sys=6a 131392 32 2 1181257 1 1 2150122528

warning: bad ending sector (chs , lba don't match)
1 partition must bootable
space conflict between following 2 partitions
4 * sys=6a 131392 32 2 1181257 1 1 2150122528
1 * sys=0d 578560 6 9 1133135 52 8 1135771072
space conflict between following 2 partitions
1 * sys=0d 578560 6 9 1133135 52 8 1135771072
3 p opus 1048801 0 9 1050857 24 32 4211480


after quicksearch:

disk /dev/sdd - 31 gb / 29 gib - chs 30280 64 32

warning: current number of heads per cylinder 64
correct value may 255.
can use geometry menu change value.
it's try if
- partitions not found testdisk
- or partition table can not written because partitions overlaps.



, after continue:

disk /dev/sdd - 31 gb / 29 gib - chs 30280 64 32
partition start end size in sectors
>* fat32 lba 0 1 1 30279 63 32 62013408 [disk_img]


when tap 'p', ugly truth confronts me:
* fat32 lba 0 1 1 30279 63 32 62013408 [disk_img]
directory /

>-r-xr-xr-x 0 0 685011246 27-jul-2003 03:09 yd�]�c]b
drwxr-xr-x 0 0 3152325290 24-dec-1934 03:42 ^_q~q~b_qzy.v>y
drwxr-xr-x 0 0 375828354 10-may-2000 21:23 �h��٢�[.��s
-rwxr-xr-x 0 0 1478710608 3-jan-2019 11:00 �e���o�7.vͻ


, many, many, more corrupted file names.

photorec recovered of files, @ least have thousand or photos there, there lot of important executables , directories on drive.

lost cause @ point or directory structure recoverable?

workaround - got in work today , there backup. thank heaven.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] TestDisk Mystery


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account