I am trying to use testdisk but cannot get past the Search stage. After Quick Search is complete, it reports that there are no partitions. Same happens after Deep Search.
Here is the log (the partition in question is /dev/sdb1):
Code: Select all
Sat Jun 9 09:18:48 2012
Command line: TestDisk /log /dev/sdb1
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 2.6.18-194.8.1.el5 (#1 SMP Thu Jul 1 19:04:48 EDT 2010) x86_64
Compiler: GCC 4.4
Compilation date: 2011-11-15T02:42:19
ext2fs lib: 1.41.9, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
Hard disk list
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243200 255 63, sector size=512 - WDC WD2003FYYS-02W0B1, S/N:WD-WMAY04712663, FW:01.01D02
Partition table type (auto): Intel
Disk /dev/sdb1 - 2000 GB / 1863 GiB - WDC WD2003FYYS-02W0B1
Partition table type: Intel
Analyse Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243200 255 63
Current partition structure:
Partition sector doesn't have the endmark 0xAA55
Ask the user for vista mode
Computes LBA from CHS for Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
Allow partial last cylinder : Yes
search_vista_part: 1
search_part()
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
interface_write()
No partition found or selected for recovery
search_part()
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243201 255 63
interface_write()
No partition found or selected for recovery
simulate write!
No extended partition
Code: Select all
> fsck /dev/sdb
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
On the other hand, photorec and fdisk appear to recognize the partition (at least, partially). Here is the photorec log:
Code: Select all
Sat Jun 9 22:06:03 2012
Command line: PhotoRec /log /dev/sdb1
PhotoRec 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 2.6.18-194.8.1.el5 (#1 SMP Thu Jul 1 19:04:48 EDT 2010) x86_64
Compiler: GCC 4.4
Compilation date: 2011-11-15T02:42:19
ext2fs lib: 1.41.9, ntfs lib: libntfs-3g, ewf lib: 20100226, libjpeg: 62
Hard disk list
Disk /dev/sdb1 - 2000 GB / 1863 GiB - CHS 243200 255 63 (RO), sector size=512 - WDC WD2003FYYS-02W0B1, S/N:WD-WMAY04712663, FW:01.01D02
Can't open photorec.ses file: No such file or directory
Partition table type (auto): None
P Unknown 0 0 1 243200 253 63 3907024002
New options :
Paranoid : Yes
Brute force : No
Allow partial last cylinder : No
Keep corrupted files : No
ext2/ext3 mode : No
Expert mode : No
Low memory : No
Code: Select all
> fdisk -lu /dev/sdb
Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 63 3907024064 1953512001 83 Linux
Code: Select all
> parted /dev/sdb
GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA WDC WD2003FYYS-0 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 2000GB 2000GB primary
Any suggestions for fixing this issue would be greatly appreciated.