Harddrive seems to small Topic is solved

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
Locked
Message
Author
Gr3ger
Posts: 3
Joined: 19 Apr 2012, 19:25

Harddrive seems to small

#1 Post by Gr3ger »

I can start by saying the HDD worked perfectly before being carefully removed to the new computer.
Hi, I was just transfering some HDD's from one computer (Win XP) to another newly formated computer (win7)
When I started the new computer with the disk in it says "you need to format this HDD" and the filesystem had been renamed from NTFS to RAW.
I remove the HDD and put it in the old computer again (in hope to get it to work) and still dont work.
It is a WD 1Tb HDD but its shown as 33Mb in testdisk.

Code: Select all


Thu Apr 19 20:20:23 2012
Command line: TestDisk

TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows XP SP3
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)=1000203804160
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=33030144
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=203927027200
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=203927027200
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000203804160
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=33030144
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=203927027200
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=203927027200
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=20974431744
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=182938420224
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=203921109504
filewin32_getfilesize(\\.\F:) GetFileSize err Felaktig funktion.

filewin32_setfilepointer(\\.\F:) SetFilePointer err Felaktig funktion.

Warning: can't get size for \\.\F:
filewin32_getfilesize(\\.\G:) GetFileSize err Felaktig funktion.

filewin32_setfilepointer(\\.\G:) SetFilePointer err Felaktig funktion.

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

filewin32_setfilepointer(\\.\H:) SetFilePointer err Felaktig funktion.

Warning: can't get size for \\.\H:
filewin32_getfilesize(\\.\I:) GetFileSize err Felaktig funktion.

filewin32_setfilepointer(\\.\I:) SetFilePointer err Felaktig funktion.

Warning: can't get size for \\.\I:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\J:)=1000202241024
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\K:)=33030144
file_pread(4,1,buffer,1953523151(1938018/15/63)) lseek err Invalid argument
file_pread(5,1,buffer,65519(64/15/63)) lseek err Invalid argument
file_pread(6,1,buffer,398299544(24792/254/63)) lseek err Invalid argument
file_pread(7,1,buffer,398299544(24792/254/63)) lseek err Invalid argument
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 1938018 16 63, sector size=512 - WDC WD10EACS-00D6B1, FW:01.01A01
Disk /dev/sdb - 33 MB / 31 MiB - CHS 64 16 63, sector size=512 - WDC WD10EACS-00D6B1, FW:01.01A01
Disk /dev/sdc - 203 GB / 189 GiB - CHS 24792 255 63, sector size=512 - Maxtor 6 B200P0
Disk /dev/sdd - 203 GB / 189 GiB - CHS 24792 255 63, sector size=512 - Maxtor 6 B200P0

Partition table type (auto): Intel
Disk /dev/sdb - 33 MB / 31 MiB - WDC WD10EACS-00D6B1
Partition table type: Intel

Analyse Disk /dev/sdb - 33 MB / 31 MiB - CHS 64 16 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
heads/cylinder 255 (NTFS) != 16 (HD)
NTFS: Can't read MFT
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
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=2
Current partition structure:
Warning: Incorrect number of heads/cylinder 255 (NTFS) != 16 (HD)
 1 P HPFS - NTFS              0   1  1 1938015  14 63 1953520002

Warning: Bad ending head (CHS and LBA don't match)
No partition is bootable
Ask the user for vista mode
Computes LBA from CHS for Disk /dev/sdb - 33 MB / 31 MiB - CHS 65 16 63
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sdb - 33 MB / 31 MiB - CHS 65 16 63
NTFS at 0/1/1
heads/cylinder 255 (NTFS) != 16 (HD)
filesystem size           1953520002
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               122095000
clusters_per_mft_record   -10
clusters_per_index_record 1
NTFS: Can't read MFT
     HPFS - NTFS              0   1  1 1938015  14 63 1953520002
     NTFS, 1000 GB / 931 GiB
This partition ends after the disk limits. (start=63, size=1953520002, end=1953520064, disk end=65520)
file_pread(5,2,buffer,64544(64/0/33)) lseek err Invalid argument
file_pread(5,1,buffer,64544(64/0/33)) lseek err Invalid argument
file_pread(5,2,buffer,64607(64/1/33)) lseek err Invalid argument
file_pread(5,1,buffer,64607(64/1/33)) lseek err Invalid argument
file_pread(5,2,buffer,65536(65/0/17)) lseek err Invalid argument
file_pread(5,1,buffer,65536(65/0/17)) lseek err Invalid argument
file_pread(5,2,buffer,65552(65/0/33)) lseek err Invalid argument
file_pread(5,1,buffer,65552(65/0/33)) lseek err Invalid argument
file_pread(5,2,buffer,65615(65/1/33)) lseek err Invalid argument
file_pread(5,1,buffer,65615(65/1/33)) lseek err Invalid argument
file_pread(5,8,buffer,64520(64/0/9)) lseek err Invalid argument
file_pread(5,1,buffer,64520(64/0/9)) lseek err Invalid argument
file_pread(5,3,buffer,64528(64/0/17)) lseek err Invalid argument
file_pread(5,3,buffer,64575(64/1/1)) lseek err Invalid argument
file_pread(5,8,buffer,64591(64/1/17)) lseek err Invalid argument
file_pread(5,11,buffer,64638(64/2/1)) lseek err Invalid argument
file_pread(5,2,buffer,66560(66/0/33)) lseek err Invalid argument
Disk /dev/sdb - 33 MB / 31 MiB - CHS 65 16 63
Check the harddisk size: HD jumpers settings, BIOS detection...
Hint: update Windows to support LBA48 (minimum: W2K SP4 or XP SP1)The harddisk (33 MB / 31 MiB) seems too small! (< 1000 GB / 931 GiB)
The following partition can't be recovered:
     HPFS - NTFS              0   1  1 1938015  14 63 1953520002
     NTFS, 1000 GB / 931 GiB

Results

interface_write()
 
No partition found or selected for recovery

search_part()
Disk /dev/sdb - 33 MB / 31 MiB - CHS 65 16 63
NTFS at 0/1/1
heads/cylinder 255 (NTFS) != 16 (HD)
filesystem size           1953520002
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               122095000
clusters_per_mft_record   -10
clusters_per_index_record 1
file_pread(5,4096,buffer,6291519(6241/9/25)) lseek err Invalid argument
file_pread(5,1,buffer,6291519(6241/9/25)) lseek err Invalid argument
NTFS: Can't read MFT
     HPFS - NTFS              0   1  1 1938015  14 63 1953520002
     NTFS, 1000 GB / 931 GiB
This partition ends after the disk limits. (start=63, size=1953520002, end=1953520064, disk end=65520)
file_pread(5,2,buffer,64544(64/0/33)) lseek err Invalid argument
file_pread(5,1,buffer,64544(64/0/33)) lseek err Invalid argument
file_pread(5,2,buffer,64607(64/1/33)) lseek err Invalid argument
file_pread(5,1,buffer,64607(64/1/33)) lseek err Invalid argument
file_pread(5,2,buffer,65536(65/0/17)) lseek err Invalid argument
file_pread(5,1,buffer,65536(65/0/17)) lseek err Invalid argument
file_pread(5,2,buffer,65552(65/0/33)) lseek err Invalid argument
file_pread(5,1,buffer,65552(65/0/33)) lseek err Invalid argument
file_pread(5,2,buffer,65615(65/1/33)) lseek err Invalid argument
file_pread(5,1,buffer,65615(65/1/33)) lseek err Invalid argument
file_pread(5,7,buffer,64513(64/0/2)) lseek err Invalid argument
file_pread(5,1,buffer,64513(64/0/2)) lseek err Invalid argument
file_pread(5,8,buffer,64520(64/0/9)) lseek err Invalid argument
file_pread(5,3,buffer,64528(64/0/17)) lseek err Invalid argument
file_pread(5,3,buffer,64575(64/1/1)) lseek err Invalid argument
file_pread(5,8,buffer,64591(64/1/17)) lseek err Invalid argument
file_pread(5,11,buffer,64638(64/2/1)) lseek err Invalid argument
file_pread(5,2,buffer,66560(66/0/33)) lseek err Invalid argument
Disk /dev/sdb - 33 MB / 31 MiB - CHS 65 16 63
Check the harddisk size: HD jumpers settings, BIOS detection...
Hint: update Windows to support LBA48 (minimum: W2K SP4 or XP SP1)The harddisk (33 MB / 31 MiB) seems too small! (< 1000 GB / 931 GiB)
The following partition can't be recovered:
     HPFS - NTFS              0   1  1 1938015  14 63 1953520002
     NTFS, 1000 GB / 931 GiB

Results

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.
And after this I cant do anymore but exit the program.

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

Re: Harddrive seems to small

#2 Post by remy »

What size is detected in the bios ?

Gr3ger
Posts: 3
Joined: 19 Apr 2012, 19:25

Re: Harddrive seems to small

#3 Post by Gr3ger »

It detected 1Tb (correct size) in BIOS, however I managed to fix the problem.

Appearently the GIGABYTE motherboard has somekind of setting (havent read much about it) where it for some reason saves the BIOS settings to one of the HDD's. and then make the other rest disappear.

I got myself a program where I could restore it to the factory size, and then restarted the computer. Now its working and everything is still there :)

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

Re: Harddrive seems to small

#4 Post by Fiona »

It's like this case;
http://forum.cgsecurity.org/phpBB3/mism ... n-t32.html
Did you use another utility te set capacity back?
Please let me know.
Then, could you set your topic as solved?

Fiona

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

Re: Harddrive seems to small

#5 Post by remy »

For Fiona, before topic is solved and closed : For linux users, there's probably a possibility to deal with HPA with a cli tool called "hdparm".

Gr3ger
Posts: 3
Joined: 19 Apr 2012, 19:25

Re: Harddrive seems to small

#6 Post by Gr3ger »

Fiona wrote:It's like this case;
http://forum.cgsecurity.org/phpBB3/mism ... n-t32.html
Did you use another utility te set capacity back?
Please let me know.
Then, could you set your topic as solved?

Fiona

http://hddguru.com/software/2007.07.20- ... tore-Tool/
It reseted the harddrive size to the "original" size, were asked to shut down the computer (not restart) I did so and also unplugged the power cord to be sure. Then started it up again, and the HDD were there with all the files still in it :)

Yes you can mark this thread as solved :)

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

Re: Harddrive seems to small

#7 Post by Fiona »

Thanks for feedback! :)
I'll set the topic as solved.

Fiona

Locked