I tried to format fat32 but something has gone wrong.
Now it is impossible to read/write both under linux and windows.
the drive now appear 8Mb (not 8Gb)
when I use testdisk
this is my testdrive log file
Code: Select all
Sat May 6 16:33:29 2017
Command line: TestDisk
TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.16.0-4-amd64 (#1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02)) x86_64
Compiler: GCC 4.9
Compilation date: 2014-10-19T15:35:24
ext2fs lib: 1.42.12, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, LBA48, DCO support
/dev/sda: size 976773168 sectors
/dev/sda: user_max 976773168 sectors
/dev/sda: dco 976773168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - HGST HTS545050A7E380, S/N:TM8514ZN2S5LNP, FW:GG2OACA0
Disk /dev/sdb - 8388 KB / 8192 KiB - CHS 1024 1 16, sector size=512 - Generic Flash Disk 2.0, FW:2.60
Partition table type default to Intel
Disk /dev/sdb - 8388 KB / 8192 KiB - Generic Flash Disk 2.0
Partition table type: Intel
Analyse Disk /dev/sdb - 8388 KB / 8192 KiB - CHS 1024 1 16
Current partition structure:
Partition sector doesn't have the endmark 0xAA55
search_part()
Disk /dev/sdb - 8388 KB / 8192 KiB - CHS 1024 1 16
Results
interface_write()
No partition found or selected for recovery
search_part()
Disk /dev/sdb - 8388 KB / 8192 KiB - CHS 1024 1 16
Results
interface_write()
No partition found or selected for recovery
simulate write!
write_mbr_i386: starting...
Store new MBR code
write_all_log_i386: starting...
No extended partition
Interface Advanced
Partition table type default to Intel
Disk /dev/sdb - 8388 KB / 8192 KiB - Generic Flash Disk 2.0
Partition table type: None
Interface Advanced
P Unknown 0 0 1 1023 0 16 16384
Change partition type:
P FAT32 0 0 1 1023 0 16 16384
fat32_boot_sector
P FAT32 0 0 1 1023 0 16 16384
Boot sector
Bad
Backup boot sector
Bad
First sectors (Boot code and partition information) are not identical.
Third sectors (Second part of boot code) are not identical.
A valid FAT Boot sector must be present in order to access
any data; even if the partition is not bootable.
TestDisk exited normally.
I have another identical pendrive and I have seen that it has a different geometry
the broken disk is
Disk /dev/sdb - 8388 KB / 8192 KiB - CHS 1024 1 16, sector size=512
the new (never used) disk is
disk /dev/sdb - 8241 MB / 7860 MiB - USB Disk CHS 1022 254 62 - sector size=512
Can you help me?
Thank you