HDD showing as RAW, Test Disk saying disk is too small?

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Message
Author
benryder
Posts: 4
Joined: 07 Jun 2012, 15:13

HDD showing as RAW, Test Disk saying disk is too small?

#1 Post by benryder »

Hi there,

My hard drive magically changed from NTFS to RAW a couple of nights ago. I've run Test Disk a couple of times to try to recover it, but both times it says it cannot find a partition, that the harddisk is too small.

Am I doing something wrong or has the drive failed completely?

Log file below. Thanks!

Ben.

===


Wed Jun 6 22:35:50 2012
Command line: TestDisk

TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.3, Cygwin 1007.7
Compilation date: 2011-11-15T08:36:54
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)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=60022480896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=60022480896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=60019441664
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=500106281472
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=320070483968
filewin32_getfilesize(\\.\F:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=500096991744
file_pread(4,1,buffer,976774175(969021/15/63)) lseek err Invalid argument
file_pread(5,1,buffer,625153409(38913/254/63)) lseek err Invalid argument
file_pread(6,1,buffer,117242369(7297/254/63)) lseek err Invalid argument
file_pread(7,1,buffer,976784129(60801/254/63)) lseek err Invalid argument
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 969021 16 63, sector size=512 - SAMSUNG HD501LJ, S/N:3053554d444a5157303434323737202020202020, FW:CR100-13
Disk /dev/sdb - 320 GB / 298 GiB - CHS 38913 255 63, sector size=512 - ST3320418AS, S/N:2020202020202020202020205639434d42595435, FW:CC38
Disk /dev/sdc - 60 GB / 55 GiB - CHS 7297 255 63, sector size=512 - OCZ-AGILITY3, S/N:434f2d5a59315245543430334b53363535424345, FW:2.22
Disk /dev/sdd - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WD 5000AAV External, S/N:WD-WCAUK0446681, FW:1.75

Partition table type (auto): Intel
Disk /dev/sda - 500 GB / 465 GiB - SAMSUNG HD501LJ
Partition table type: Intel

Analyse Disk /dev/sda - 500 GB / 465 GiB - CHS 969021 16 63
Geometry from i386 MBR: head=16 sector=63
check_part_i386 failed for partition type 07
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=32 nbr=2
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
Invalid NTFS or EXFAT boot
1 * HPFS - NTFS 0 1 1 969017 15 63 976770081
1 * HPFS - NTFS 0 1 1 969017 15 63 976770081
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 500 GB / 465 GiB - CHS 969021 16 63
file_pread(4,16,buffer,64(0/1/2)) read err: Invalid argument
file_pread(4,1,buffer,64(0/1/2)) read err: Invalid argument
BAD_RS LBA=968783936 874232
check_part_i386 failed for partition type 01
FAT12 961095 2 51 4820440 13 45 3890220448
This partition ends after the disk limits. (start=968783936, size=3890220448, end=564037087, disk end=976773168)
BAD_RS LBA=3901052504 204164
file_pread(4,1,buffer,3901052504(3870091/12/21)) lseek err Invalid argument
check_part_i386 failed for partition type 07
HPFS - NTFS 3870091 12 21 4785900 12 1 923135453
This partition ends after the disk limits. (start=3901052504, size=923135453, end=529220660, disk end=976773168)
file_pread(4,2,buffer,976773200(969021/0/33)) lseek err Invalid argument
file_pread(4,1,buffer,976773200(969021/0/33)) lseek err Invalid argument
file_pread(4,2,buffer,976773263(969021/1/33)) lseek err Invalid argument
file_pread(4,1,buffer,976773263(969021/1/33)) lseek err Invalid argument
file_pread(4,2,buffer,976774208(969022/0/33)) lseek err Invalid argument
file_pread(4,1,buffer,976774208(969022/0/33)) lseek err Invalid argument
file_pread(4,2,buffer,976774271(969022/1/33)) lseek err Invalid argument
file_pread(4,1,buffer,976774271(969022/1/33)) lseek err Invalid argument
file_pread(4,3,buffer,976773183(969021/0/16)) lseek err Invalid argument
file_pread(4,1,buffer,976773183(969021/0/16)) lseek err Invalid argument
file_pread(4,8,buffer,976773199(969021/0/32)) lseek err Invalid argument
file_pread(4,11,buffer,976773246(969021/1/16)) lseek err Invalid argument
file_pread(4,2,buffer,976775168(969022/15/48)) lseek err Invalid argument
file_pread(4,8,buffer,976773176(969021/0/9)) lseek err Invalid argument
file_pread(4,3,buffer,976773184(969021/0/17)) lseek err Invalid argument
file_pread(4,3,buffer,976773231(969021/1/1)) lseek err Invalid argument
file_pread(4,11,buffer,976773294(969021/2/1)) lseek err Invalid argument
file_pread(4,2,buffer,976775216(969023/0/33)) lseek err Invalid argument
Disk /dev/sda - 500 GB / 465 GiB - CHS 969021 16 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (500 GB / 465 GiB) seems too small! (< 2487 GB / 2316 GiB)
The following partitions can't be recovered:
FAT12 961095 2 51 4820440 13 45 3890220448
HPFS - NTFS 3870091 12 21 4785900 12 1 923135453

Results
Can't open backup.log file: No such file or directory
interface_load

interface_write()

No partition found or selected for recovery

search_part()
Disk /dev/sda - 500 GB / 465 GiB - CHS 969021 16 63
file_pread(4,16,buffer,48(0/0/49)) read err: No such file or directory
file_pread(4,16,buffer,51(0/0/52)) read err: No such file or directory
file_pread(4,16,buffer,63(0/1/1)) read err: No such file or directory
file_pread(4,1,buffer,63(0/1/1)) read err: No such file or directory
Search for partition aborted

Results
Can't open backup.log file: No such file or directory
interface_load

interface_write()

No partition found or selected for recovery
simulate write!

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

TestDisk exited normally.

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

Re: HDD showing as RAW, Test Disk saying disk is too small?

#2 Post by Fiona »

Looks like, that your geometry doesn't match.
Would it be possible to repeat your diagnose and change your geometry like in this description?
Confirm in TestDisk through (your affected disk must be selected) until you see the menu Analyse.
Don't confirm at Analyse but Geometry.
Change the value at Heads to 255.
Don't change anything else and leave the menu at Ok.
Repeat your Diagnose at Analyse.
I'd need infos from Analyse and Quick Search first.
If nothing is found from Deeper Search also.

Fiona

benryder
Posts: 4
Joined: 07 Jun 2012, 15:13

Re: HDD showing as RAW, Test Disk saying disk is too small?

#3 Post by benryder »

I've tried as you suggested and changed the geometry to 255, but no luck. Log below..



Thu Jun 7 20:01:18 2012
Command line: TestDisk

TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.3, Cygwin 1007.7
Compilation date: 2011-11-15T08:36:54
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)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=60022480896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=60022480896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=60019441664
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=500106281472
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=320070483968
filewin32_getfilesize(\\.\F:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=500096991744
file_pread(4,1,buffer,976774175(969021/15/63)) lseek err Invalid argument
file_pread(5,1,buffer,625153409(38913/254/63)) lseek err Invalid argument
file_pread(6,1,buffer,117242369(7297/254/63)) lseek err Invalid argument
file_pread(7,1,buffer,976784129(60801/254/63)) lseek err Invalid argument
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 969021 16 63, sector size=512 - SAMSUNG HD501LJ, S/N:3053554d444a5157303434323737202020202020, FW:CR100-13
Disk /dev/sdb - 320 GB / 298 GiB - CHS 38913 255 63, sector size=512 - ST3320418AS, S/N:2020202020202020202020205639434d42595435, FW:CC38
Disk /dev/sdc - 60 GB / 55 GiB - CHS 7297 255 63, sector size=512 - OCZ-AGILITY3, S/N:434f2d5a59315245543430334b53363535424345, FW:2.22
Disk /dev/sdd - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WD 5000AAV External, S/N:WD-WCAUK0446681, FW:1.75

Partition table type (auto): Intel
Disk /dev/sda - 500 GB / 465 GiB - SAMSUNG HD501LJ
Partition table type: Intel
New geometry
Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63 sector_size=512

Analyse Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63
Geometry from i386 MBR: head=16 sector=63
check_part_i386 failed for partition type 07
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=32 nbr=2
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
Invalid NTFS or EXFAT boot
1 * HPFS - NTFS 0 1 1 60801 32 63 976770081
1 * HPFS - NTFS 0 1 1 60801 32 63 976770081
Ask the user for vista mode
file_pread(4,1,buffer,976784130(60802/0/1)) lseek err Invalid argument
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63
file_pread(4,16,buffer,64(0/1/2)) read err: Invalid argument
file_pread(4,1,buffer,64(0/1/2)) read err: Invalid argument
Search for partition aborted

Results
Can't open backup.log file: No such file or directory
interface_load

interface_write()

No partition found or selected for recovery

search_part()
Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63
file_pread(4,16,buffer,48(0/0/49)) read err: No such file or directory
file_pread(4,16,buffer,51(0/0/52)) read err: No such file or directory
file_pread(4,16,buffer,63(0/1/1)) read err: No such file or directory
file_pread(4,1,buffer,63(0/1/1)) read err: No such file or directory
BAD_RS LBA=968783936 13763024
check_part_i386 failed for partition type 01
FAT12 60304 2 51 302459 8 45 3890220448
This partition ends after the disk limits. (start=968783936, size=3890220448, end=564037087, disk end=976784130)
file_pread(4,3,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(4,1,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(4,8,buffer,976773199(60801/81/32)) lseek err Invalid argument
file_pread(4,11,buffer,976773246(60801/82/16)) lseek err Invalid argument
file_pread(4,2,buffer,976775168(60801/112/48)) lseek err Invalid argument
file_pread(4,1,buffer,976775167(60801/112/47)) lseek err Invalid argument
Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (500 GB / 465 GiB) seems too small! (< 2487 GB / 2316 GiB)
The following partition can't be recovered:
FAT12 60304 2 51 302459 8 45 3890220448

Results

interface_write()

No partition found or selected for recovery

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

Re: HDD showing as RAW, Test Disk saying disk is too small?

#4 Post by Fiona »

Looks like that you didn't run Deeper Search.
Would it be possible to have a boot sector diagnose from your current partition in your partition table?
With your geometry of 255 heads, it looks better.

Start TestDisk, confirm at create a log with enter and select your affected disk.
Confirm at partition table type with enter also
Don't confirm at Analyse but Advanced.
Confirm at Boot.
Highlight Rebuild BS and hit Enter.
Rebuild your BS will be in progress.
Normally, it takes some minutes.
If it's finished, please post the infos or upload a screen.
If you see a menu List, please highlight it and press enter.
Please let us know, do you see your data or an error message.
To get back to the previous screen, easily press q for Quit.

Infos will follow.

Fiona

benryder
Posts: 4
Joined: 07 Jun 2012, 15:13

Re: HDD showing as RAW, Test Disk saying disk is too small?

#5 Post by benryder »

Hello.

When I select List I can see my data. What do I do next to make it accessible in Windows?

Thank you for your help so far!

Ben.

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

Re: HDD showing as RAW, Test Disk saying disk is too small?

#6 Post by Fiona »

When you see your data, you can use Write to write your repaired boot sector.
Close testdisk using Quit and restart your PC.
If chkdsk (autochk) appears, please stop it pressing any key.
After boot sector repair we can consider to write your partition into your partition table using 255 heads.
But it's depend on you and takes only seconds.

Fiona

Semicus
Posts: 4
Joined: 21 Nov 2014, 22:03

Re: HDD showing as RAW, Test Disk saying disk is too small?

#7 Post by Semicus »

I have similar problem... suddenly my partition went RAW but Testdisk can list the files. There is also a problem with heads per cylinder value. My value is 60 and testdisk says it should be 255... I don't know if that matters or not.
Fiona, can you explain steps to rebuild my partition to be usable again?

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

Re: HDD showing as RAW, Test Disk saying disk is too small?

#8 Post by Fiona »

Please let me know your OS?
Can you copy and paste the content of your testdisk.log into your next post?
You'll find it within your testdisk folder.
Since Vista, microsoft aligns partitions on megabyte boundaries.
It can cause such messages too.

Fiona

Semicus
Posts: 4
Joined: 21 Nov 2014, 22:03

Re: HDD showing as RAW, Test Disk saying disk is too small?

#9 Post by Semicus »

Sure, my system is Windows 8.1, i have a problem with SAMSUNG HD103SJ, S/N:S246J9BZ905838

Sat Nov 22 15:23:17 2014
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, October 2014
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows WorkStation 6.2.9200
Compiler: GCC 4.7, Cygwin 1007.25
Compilation date: 2014-11-13T18:59:50
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=107006132224
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=892827860992
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=1000202043392
filewin32_getfilesize(\\.\H:) GetFileSize err Niepoprawna funkcja.

filewin32_setfilepointer(\\.\H:) SetFilePointer err Niepoprawna funkcja.

Warning: can't get size for \\.\H:
filewin32_getfilesize(\\.\J:) GetFileSize err Niepoprawna funkcja.

filewin32_setfilepointer(\\.\J:) SetFilePointer err Niepoprawna funkcja.

Warning: can't get size for \\.\J:
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 4811638 203 2, sector size=512 - ST31000524AS, S/N:6VPCB1HF, FW:JC45
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST31000524AS, S/N:6VPED0WE, FW:JC4B
Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST31000528AS, S/N:5VP08WLW, FW:CC34
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 2713229 60 12, sector size=512 - SAMSUNG HD103SJ, S/N:S246J9BZ905838, FW:1AJ10001

Partition table type (auto): Intel
Disk /dev/sdd - 1000 GB / 931 GiB - SAMSUNG HD103SJ
Partition table type: Intel

Analyse Disk /dev/sdd - 1000 GB / 931 GiB - CHS 2713229 60 12
Geometry from i386 MBR: head=60 sector=12
NTFS at 2/50/9
Current partition structure:
1 P HPFS - NTFS 2 50 9 2713224 31 12 1953519616
No partition is bootable

search_part()
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 2713229 60 12
NTFS at 2/50/9
filesystem size 1953519616
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 2 50 9 2713224 31 12 1953519616
NTFS, blocksize=4096, 1000 GB / 931 GiB
file_pread(7,2,buffer,1953525488(2713229/50/9)) lseek err Invalid argument
file_pread(7,1,buffer,1953525488(2713229/50/9)) lseek err Invalid argument
file_pread(7,2,buffer,1953525500(2713229/51/9)) lseek err Invalid argument
file_pread(7,1,buffer,1953525500(2713229/51/9)) lseek err Invalid argument
file_pread(7,2,buffer,1953525760(2713230/13/5)) lseek err Invalid argument
file_pread(7,1,buffer,1953525760(2713230/13/5)) lseek err Invalid argument
file_pread(7,2,buffer,1953526207(2713230/50/8)) lseek err Invalid argument
file_pread(7,1,buffer,1953526207(2713230/50/8)) lseek err Invalid argument
file_pread(7,2,buffer,1953526208(2713230/50/9)) lseek err Invalid argument
file_pread(7,2,buffer,1953526220(2713230/51/9)) lseek err Invalid argument
file_pread(7,1,buffer,1953526220(2713230/51/9)) lseek err Invalid argument
file_pread(7,2,buffer,1953526927(2713231/50/8)) lseek err Invalid argument
file_pread(7,1,buffer,1953526927(2713231/50/8)) lseek err Invalid argument
file_pread(7,2,buffer,1953526928(2713231/50/9)) lseek err Invalid argument
file_pread(7,2,buffer,1953526940(2713231/51/9)) lseek err Invalid argument
file_pread(7,1,buffer,1953526940(2713231/51/9)) lseek err Invalid argument
file_pread(7,8,buffer,1953525248(2713229/30/9)) lseek err Invalid argument
file_pread(7,1,buffer,1953525248(2713229/30/9)) lseek err Invalid argument
file_pread(7,8,buffer,1953525376(2713229/41/5)) lseek err Invalid argument
file_pread(7,8,buffer,1953525504(2713229/52/1)) lseek err Invalid argument
Warning: the current number of heads per cylinder is 60 but the correct value may be 255.

Results
* HPFS - NTFS 2 50 9 2713224 31 12 1953519616
NTFS, blocksize=4096, 1000 GB / 931 GiB

interface_write()
1 * HPFS - NTFS 2 50 9 2713224 31 12 1953519616
simulate write!

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

TestDisk exited normally.

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

Re: HDD showing as RAW, Test Disk saying disk is too small?

#10 Post by Fiona »

You can use the menu geometry to change the values at Heads to 255 and sectors to 63.
Please don't change anything else!
Repeat your diagnose.
Currently I'm not sure that it will solve your issue, because your partition is already in your partition table.
Only the geometry values are different.
But might be worth to test it.
Please upload the testdisk.log again.
You can use testdisk to copy/backup your data too.

Fiona

Locked