Help - Drive too small / partition ends after disk limits Topic is solved

How to use TestDisk to recover lost partition
Message
Author
sicae
Posts: 3
Joined: 12 Apr 2012, 03:26

Help - Drive too small / partition ends after disk limits

#1 Postby sicae » 12 Apr 2012, 04:42

Hi,

I'm trying to fix a friend's external hard drive (Samsung STORY Station). She says that she unplugged it while it was still operating, and now appears as RAW in Windows Disk Management.

I ran TestDisk on it, hoping it was an easy fix, but no luck. It finds the partition I'm looking for, but I get the following errors:
The harddisk (2000 GB / 1863 GiB) seems too small! (< 4000 GB / 3726 GiB)
The following partition can't be recovered:
HPFS - NTFS 243201 1 2 486401 254 63 3907024001

and

This partition ends after the disk limits. (start=3907024129, size=3907024001, end=3519080833, disk end=3907029168)

I've tried searching through the forums, and I've Googled to no end, but I can't figure out what to do about it..
The closest I've come, is thinking that I could do the same thing as they did in this post, but I'm really not sure.

My full TestDisk log is posted below.

Any help is greatly appreciated..

Greetings,

Diego

Code: Select all


Thu Apr  5 23:59:49 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows XP SP3
Compiler: GCC 4.6, Cygwin 1007.9
Compilation date: 2012-03-25T21:26:26
ext2fs lib: 1.41.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=500118585344
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000215674880
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500118585344
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000215674880
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=100027597824
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=1000202241024
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=200038809600
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=200047034880
filewin32_getfilesize(\\.\G:) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\G:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\G:
filewin32_getfilesize(\\.\H:) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\H:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\H:
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63, sector size=512 - Promise 2+0 Stripe/RAID0, FW:1.10
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121602 255 63, sector size=512 - VIA SATA  RAID 0
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512 - Samsung STORY Station

Partition table type default to Intel
Disk /dev/sdc - 2000 GB / 1863 GiB - Samsung STORY Station
Partition table type: Intel

Analyse Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
Current partition structure:
No partition is bootable
Ask the user for vista mode
search_vista_part: 1

search_part()
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
BAD_RS LBA=3907024129 64
check_part_i386 failed for partition type 07
     HPFS - NTFS          243201   1  2 486401 254 63 3907024001
This partition ends after the disk limits. (start=3907024129, size=3907024001, end=3519080833, disk end=3907029168)
file_pread(6,2,buffer,3907031040(243201/110/46)) lseek err Invalid argument
file_pread(6,1,buffer,3907031040(243201/110/46)) lseek err Invalid argument
file_pread(6,7,buffer,3907031041(243201/110/47)) lseek err Invalid argument
file_pread(6,8,buffer,3907031048(243201/110/54)) lseek err Invalid argument
file_pread(6,3,buffer,3907031056(243201/110/62)) lseek err Invalid argument
file_pread(6,3,buffer,3907031103(243201/111/46)) lseek err Invalid argument
file_pread(6,8,buffer,3907031119(243201/111/62)) lseek err Invalid argument
file_pread(6,11,buffer,3907031166(243201/112/46)) lseek err Invalid argument
file_pread(6,2,buffer,3907033088(243201/143/15)) lseek err Invalid argument
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (2000 GB / 1863 GiB) seems too small! (< 4000 GB / 3726 GiB)
The following partition can't be recovered:
     HPFS - NTFS          243201   1  2 486401 254 63 3907024001

Results

interface_write()
 
No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

Interface Advanced

Analyse Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
Current partition structure:
No partition is bootable
Ask the user for vista mode
search_vista_part: 1

search_part()
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
BAD_RS LBA=3907024129 64
check_part_i386 failed for partition type 07
     HPFS - NTFS          243201   1  2 486401 254 63 3907024001
This partition ends after the disk limits. (start=3907024129, size=3907024001, end=3519080833, disk end=3907029168)
file_pread(6,2,buffer,3907031040(243201/110/46)) lseek err Invalid argument
file_pread(6,1,buffer,3907031040(243201/110/46)) lseek err Invalid argument
file_pread(6,7,buffer,3907031041(243201/110/47)) lseek err Invalid argument
file_pread(6,8,buffer,3907031048(243201/110/54)) lseek err Invalid argument
file_pread(6,3,buffer,3907031056(243201/110/62)) lseek err Invalid argument
file_pread(6,3,buffer,3907031103(243201/111/46)) lseek err Invalid argument
file_pread(6,8,buffer,3907031119(243201/111/62)) lseek err Invalid argument
file_pread(6,11,buffer,3907031166(243201/112/46)) lseek err Invalid argument
file_pread(6,2,buffer,3907033088(243201/143/15)) lseek err Invalid argument
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (2000 GB / 1863 GiB) seems too small! (< 4000 GB / 3726 GiB)
The following partition can't be recovered:
     HPFS - NTFS          243201   1  2 486401 254 63 3907024001

Results

interface_write()
 
No partition found or selected for recovery

search_part()
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
NTFS at 243200/254/63
filesystem size           3907024001
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               244189000
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0   1  2 243200 254 63 3907024001 [TESWOUT USB BOX]
     NTFS found using backup sector!, 2000 GB / 1863 GiB
BAD_RS LBA=3907024129 64
check_part_i386 failed for partition type 07
     HPFS - NTFS          243201   1  2 486401 254 63 3907024001
This partition ends after the disk limits. (start=3907024129, size=3907024001, end=3519080833, disk end=3907029168)
file_pread(6,2,buffer,3907031040(243201/110/46)) lseek err Invalid argument
file_pread(6,1,buffer,3907031040(243201/110/46)) lseek err Invalid argument
file_pread(6,8,buffer,3907029184(243201/81/17)) lseek err Invalid argument
file_pread(6,8,buffer,3907029312(243201/83/19)) lseek err Invalid argument
file_pread(6,8,buffer,3907029440(243201/85/21)) lseek err Invalid argument
file_pread(6,8,buffer,3907029568(243201/87/23)) lseek err Invalid argument
file_pread(6,8,buffer,3907029696(243201/89/25)) lseek err Invalid argument
file_pread(6,8,buffer,3907029824(243201/91/27)) lseek err Invalid argument
file_pread(6,8,buffer,3907029952(243201/93/29)) lseek err Invalid argument
file_pread(6,8,buffer,3907030080(243201/95/31)) lseek err Invalid argument
file_pread(6,8,buffer,3907030208(243201/97/33)) lseek err Invalid argument
file_pread(6,8,buffer,3907030336(243201/99/35)) lseek err Invalid argument
file_pread(6,8,buffer,3907030464(243201/101/37)) lseek err Invalid argument
file_pread(6,8,buffer,3907030592(243201/103/39)) lseek err Invalid argument
file_pread(6,8,buffer,3907030720(243201/105/41)) lseek err Invalid argument
file_pread(6,8,buffer,3907030848(243201/107/43)) lseek err Invalid argument
file_pread(6,8,buffer,3907030976(243201/109/45)) lseek err Invalid argument
file_pread(6,1,buffer,3907031039(243201/110/45)) lseek err Invalid argument
file_pread(6,1,buffer,3907031040(243201/110/46)) lseek err Invalid argument
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (2000 GB / 1863 GiB) seems too small! (< 4000 GB / 3726 GiB)
The following partition can't be recovered:
     HPFS - NTFS          243201   1  2 486401 254 63 3907024001

Results
   L HPFS - NTFS              0   1  2 243200 254 63 3907024001 [TESWOUT USB BOX]
     NTFS found using backup sector!, 2000 GB / 1863 GiB
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
 1 E extended LBA             0   1  1 243200 254 63 3907024002
 5 L HPFS - NTFS              0   1  2 243200 254 63 3907024001 [TESWOUT USB BOX]
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 0/1/1,lba=63

TestDisk exited normally.

Sponsored links

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: Help - Drive too small / partition ends after disk limit

#2 Postby remy » 12 Apr 2012, 07:09

The partition you show could'nt be the good one. It's beggining at the end of the disk.

Are you sure the good one would'nt be this one ?

1 E extended LBA 0 1 1 243200 254 63 3907024002
5 L HPFS - NTFS 0 1 2 243200 254 63 3907024001 [TESWOUT USB BOX]
J'ai pour habitude d'aller au bout de l'aide que j'apporte. Si vous pensez que je vous ai abandonné, et que je ne l'ai pas fait explicitement, c'est que votre message est enfoui avec d'autres. Relancez-moi (modérément) par mail.

User avatar
Fiona
Posts: 2839
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Help - Drive too small / partition ends after disk limit  Topic is solved

#3 Postby Fiona » 12 Apr 2012, 07:14

Your partition table is empty.
But Deeper Search found your Partition.

Code: Select all

Results
   L HPFS - NTFS              0   1  2 243200 254 63 3907024001 [TESWOUT USB BOX]
     NTFS found using backup sector!, 2000 GB / 1863 GiB

Currently it's displayed as logical partition and should be primary.
The geometry is wrong.
The value 2 at the beginning of your partition should be 1.

Please run Deeper Search.
If your partition is found, press p to have a try to list your files.
Do you see your data or an error message?

Only if your your data are listed, recover your partition (if your data are not listed, please let me know).;
Use your left or right arrow key on your keyboard to set it to P for primary.
You can see it at the left.
P HPFS - NTFS 0 1 2 243200 254 63 3907024001 [TESWOUT USB BOX]

Press enter, check Write and confirm it with enter and y.
You'll get a message about boot sector recovery, that your boot sector is bad and its backup is OK.
Confirm at Backup BS with enter and y.

Close TestDisk using Quit.
Restart your PC.

Fiona

sicae
Posts: 3
Joined: 12 Apr 2012, 03:26

Re: Help - Drive too small / partition ends after disk limit

#4 Postby sicae » 12 Apr 2012, 23:22

Thank you for the prompt replies.
I will obediently follow all steps, and return to the forum once TestDisk is done scanning and I've taken above mentioned steps (taking care that it does indeed list my files)!

Diego

sicae
Posts: 3
Joined: 12 Apr 2012, 03:26

Re: Help - Drive too small / partition ends after disk limit

#5 Postby sicae » 16 Apr 2012, 06:57

Just wanted to thank you all for the rapid response.

Fiona's instructions worked like a charm. The hard drive is working again, 100% error-free.

I am honestly amazed (happily so) at the level of (expert) support available for TestDisk (and PhotoRec), both free products..

Very much appreciated!

Gr,

Diego


Return to “Partition Recovery”

Who is online

Users browsing this forum: No registered users and 0 guests