rehabbing a flash drive

Using TestDisk to repair the filesystem
Message
Author
JoeBausch
Posts: 9
Joined: 11 Sep 2013, 14:05

Re: rehabbing a flash drive

#11 Post by JoeBausch » 06 Oct 2013, 18:04

Christophe,

I did as you indicated and I believe the result is that something with the boot sector isn't right, and I don't see "Repair FAT" as a choice. I believe the most relevant info from the log file is this from the end:

Boot sector
Warning: number of heads/cylinder mismatches 249 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 62 (FAT) != 1 (HD)
OK

Backup boot sector
Warning: number of heads/cylinder mismatches 249 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 62 (FAT) != 1 (HD)
OK

First sectors (Boot code and partition information) are not identical.
Second sectors (cluster information) are not identical.

A valid FAT Boot sector must be present in order to access
any data; even if the partition is not bootable.



The entire testdisk.log file is appended below:


Sun Oct 6 12:48:55 2013
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 8.11.0 (Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24
Compiler: GCC 4.0
Compilation date: 2013-07-30T14:08:32
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: none
Hard disk list
Disk /dev/disk0 - 300 GB / 279 GiB - 586072368 sectors (RO), sector size=512
Disk /dev/disk1 - 320 GB / 298 GiB - 625142448 sectors (RO), sector size=512
Disk /dev/disk2 - 500 GB / 465 GiB - 976773168 sectors (RO), sector size=512
Disk /dev/disk3 - 500 GB / 465 GiB - 976773168 sectors (RO), sector size=512
Disk /dev/disk5 - 500 GB / 465 GiB - 976773168 sectors (RO), sector size=512
Disk /dev/disk7 - 8086 MB / 7711 MiB - 15794175 sectors (RO), sector size=512
Disk /dev/rdisk0 - 300 GB / 279 GiB - 586072368 sectors (RO), sector size=512
Disk /dev/rdisk1 - 320 GB / 298 GiB - 625142448 sectors (RO), sector size=512
Disk /dev/rdisk2 - 500 GB / 465 GiB - 976773168 sectors (RO), sector size=512
Disk /dev/rdisk3 - 500 GB / 465 GiB - 976773168 sectors (RO), sector size=512
Disk /dev/rdisk4 - 499 GB / 465 GiB - 976509120 sectors, sector size=512
Disk /dev/rdisk5 - 500 GB / 465 GiB - 976773168 sectors (RO), sector size=512
Disk /dev/rdisk7 - 8086 MB / 7711 MiB - 15794175 sectors (RO), sector size=512

Partition table type (auto): Humax
Media is opened in read-only.
Disk /dev/rdisk7 - 8086 MB / 7711 MiB (RO)
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 1
FAT32 at 63/0/1
Info: size boot_sector 15794112, partition 15794112
FAT1 : 32-3886
FAT2 : 3887-7741
start_rootdir : 7742 root cluster : 2
Data : 7742-15794109
sectors : 15794112
cluster_size : 32
no_of_cluster : 493324 (2 - 493325)
fat_length 3855 calculated 3855
FAT differs, FAT sectors=624-640/3855
heads/cylinder 249 (FAT) != 1 (HD)
sect/track 62 (FAT) != 1 (HD)
set_FAT_info: name from BS used
get_geometry_from_list_part_aux head=1 nbr=2
1 * FAT32 63 15794174 15794112 [JWB_THUMB]
FAT32, blocksize=16384, 8086 MB / 7711 MiB

fat32_boot_sector
1 * FAT32 63 15794174 15794112 [JWB_THUMB]
FAT32, blocksize=16384, 8086 MB / 7711 MiB
FAT32 at 63/0/1
Info: size boot_sector 15794112, partition 15794112
FAT1 : 32-3886
FAT2 : 3887-7741
start_rootdir : 7742 root cluster : 2
Data : 7742-15794109
sectors : 15794112
cluster_size : 32
no_of_cluster : 493324 (2 - 493325)
fat_length 3855 calculated 3855
FAT differs, FAT sectors=624-640/3855
heads/cylinder 249 (FAT) != 1 (HD)
sect/track 62 (FAT) != 1 (HD)
FAT32 at 63/0/1
Info: size boot_sector 15794112, partition 15794112
FAT1 : 32-3886
FAT2 : 3887-7741
start_rootdir : 7742 root cluster : 2
Data : 7742-15794109
sectors : 15794112
cluster_size : 32
no_of_cluster : 493324 (2 - 493325)
fat_length 3855 calculated 3855
FAT differs, FAT sectors=624-640/3855
heads/cylinder 249 (FAT) != 1 (HD)
sect/track 62 (FAT) != 1 (HD)
Boot sector
Warning: number of heads/cylinder mismatches 249 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 62 (FAT) != 1 (HD)
OK

Backup boot sector
Warning: number of heads/cylinder mismatches 249 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 62 (FAT) != 1 (HD)
OK

First sectors (Boot code and partition information) are not identical.
Second sectors (cluster information) are not identical.

A valid FAT Boot sector must be present in order to access
any data; even if the partition is not bootable.

Sponsored links

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests