Help with restoring disk

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
Post Reply
Message
Author
Jimmy
Posts: 5
Joined: 11 Nov 2018, 13:21

Help with restoring disk

#1 Post by Jimmy » 11 Nov 2018, 13:36

hi everyone,

when i started up my external disk, windows 7 said "windows need to format disk"

so i started searching for answers

i found testdisk and used it to copy my data over to another HDD

now i want to repair my disk

i have no idea how to do that

i think there is something wrong with the boot sector

i have copied my log

can someone help me??

thanks

JImmy








TestDisk 7.1-WIP, Data Recovery Utility, September 2018
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 6.4, Cygwin 2009.0
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=60022480896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=60022480896
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=60020490240
filewin32_getfilesize(\\.\D:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=2000396746752
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
Hard disk list
Disk /dev/sda - 60 GB / 55 GiB - CHS 7297 255 63, sector size=512 - Inateck ASM1153E, S/N:111987654321
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 30400 255 63, sector size=4096 - WDC WD20 EURS-63S48Y0, S/N:152D20337A0C
Disk \\.\PhysicalDrive2 - 2000 GB / 1863 GiB - CHS 30400 255 63, sector size=4096 - WDC WD20 EURS-63S48Y0, S/N:152D20337A0C
Drive E: - 2000 GB / 1863 GiB - CHS 30400 255 63, sector size=4096 - WDC WD20 EURS-63S48Y0, S/N:152D20337A0C

Partition table type (auto): Intel
Disk /dev/sdc - 2000 GB / 1863 GiB - WDC WD20 EURS-63S48Y0
Partition table type: Intel
Partition table type (auto): Intel
Disk /dev/sdc - 2000 GB / 1863 GiB - WDC WD20 EURS-63S48Y0
Partition table type: Intel

Analyse Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 30400 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/4/5
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
Info: size boot_sector 3907024896, partition 488378112
Current partition structure:
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
1 * HPFS - NTFS 0 4 5 30400 37 37 488378112 [Data]

search_part()
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 30400 255 63
NTFS at 0/4/5
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
filesystem size 3907024896
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 4 5 30400 37 37 488378112 [Data]
NTFS, blocksize=4096, 2000 GB / 1863 GiB
file_pread(5,1,buffer,488378650(30400/42/5)) lseek err Invalid argument
file_pread(5,1,buffer,488378687(30400/42/42)) lseek err Invalid argument
file_pread(5,1,buffer,488378713(30400/43/5)) lseek err Invalid argument
file_pread(5,1,buffer,488378879(30400/45/45)) lseek err Invalid argument
file_pread(5,1,buffer,488378880(30400/45/46)) lseek err Invalid argument
file_pread(5,1,buffer,488378656(30400/42/11)) lseek err Invalid argument
file_pread(5,1,buffer,488378672(30400/42/27)) lseek err Invalid argument
file_pread(5,1,buffer,488378688(30400/42/43)) lseek err Invalid argument
file_pread(5,1,buffer,488378704(30400/42/59)) lseek err Invalid argument
file_pread(5,1,buffer,488378720(30400/43/12)) lseek err Invalid argument
file_pread(5,1,buffer,488378736(30400/43/28)) lseek err Invalid argument
file_pread(5,1,buffer,488378752(30400/43/44)) lseek err Invalid argument
file_pread(5,1,buffer,488378768(30400/43/60)) lseek err Invalid argument
file_pread(5,1,buffer,488378784(30400/44/13)) lseek err Invalid argument
file_pread(5,1,buffer,488378800(30400/44/29)) lseek err Invalid argument
file_pread(5,1,buffer,488378816(30400/44/45)) lseek err Invalid argument
file_pread(5,1,buffer,488378832(30400/44/61)) lseek err Invalid argument
file_pread(5,1,buffer,488378848(30400/45/14)) lseek err Invalid argument
file_pread(5,1,buffer,488378864(30400/45/30)) lseek err Invalid argument
file_pread(5,1,buffer,488378880(30400/45/46)) lseek err Invalid argument
file_pread(5,1,buffer,488378881(30400/45/47)) lseek err Invalid argument
file_pread(5,1,buffer,488378882(30400/45/48)) lseek err Invalid argument
file_pread(5,2,buffer,488378887(30400/45/53)) lseek err Invalid argument
file_pread(5,2,buffer,488378889(30400/45/55)) lseek err Invalid argument
file_pread(5,3,buffer,488378895(30400/45/61)) lseek err Invalid argument
file_pread(5,1,buffer,488379136(30400/49/50)) lseek err Invalid argument

Results
* HPFS - NTFS 0 4 5 30400 37 37 488378112 [Data]
NTFS, blocksize=4096, 2000 GB / 1863 GiB

interface_write()
1 * HPFS - NTFS 0 4 5 30400 37 37 488378112 [Data]
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
New options :
Dump : No
Align partition: Yes
Expert mode : No
Partition table type (auto): None
Drive E: - 2000 GB / 1863 GiB - WDC WD20 EURS-63S48Y0
Partition table type: None

Interface Advanced
NTFS at 0/0/1
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
filesystem size 3907024896
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
NTFS at 0/0/1
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
Info: size boot_sector 3907024896, partition 488378112
P NTFS 0 0 1 30400 33 33 488378112 [Data]
NTFS, blocksize=4096, 2000 GB / 1863 GiB

ntfs_boot_sector
P NTFS 0 0 1 30400 33 33 488378112 [Data]
NTFS, blocksize=4096, 2000 GB / 1863 GiB
NTFS at 0/0/1
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
Info: size boot_sector 3907024896, partition 488378112
filesystem size 3907024896 1
sectors_per_cluster 8 0
mft_lcn 786432 0
mftmirr_lcn 2 0
clusters_per_mft_record -10 0
clusters_per_index_record 1 0
Boot sector
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
Status: OK

Backup boot sector
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

ntfs_boot_sector
P NTFS 0 0 1 30400 33 33 488378112 [Data]
NTFS, blocksize=4096, 2000 GB / 1863 GiB
NTFS at 0/0/1
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
Info: size boot_sector 3907024896, partition 488378112
filesystem size 3907024896 1
sectors_per_cluster 8 0
mft_lcn 786432 0
mftmirr_lcn 2 0
clusters_per_mft_record -10 0
clusters_per_index_record 1 0
Boot sector
Warning: number of bytes per sector mismatches 512 (NTFS) != 4096 (HD)
Status: OK

Backup boot sector
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 4513
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Help with restoring disk

#2 Post by cgrenier » 14 Nov 2018, 21:41

Run "cmd" using right click "run as administrator" and "chkdsk /f e:". What is the result/the output ?

Jimmy
Posts: 5
Joined: 11 Nov 2018, 13:21

Re: Help with restoring disk

#3 Post by Jimmy » 15 Nov 2018, 14:40

Hi
Does not work because disk is not visible in Windows
I can not select it
Jimmy

Jimmy
Posts: 5
Joined: 11 Nov 2018, 13:21

Re: Help with restoring disk

#4 Post by Jimmy » 15 Nov 2018, 14:42

It is also not visible in disk management in Windows
It does not show up

Jimmy
Posts: 5
Joined: 11 Nov 2018, 13:21

Re: Help with restoring disk

#5 Post by Jimmy » 15 Nov 2018, 14:44

It happened When i removed the disk from an old computer and put it in an docking station wich i connect through usb on my new computer

User avatar
cgrenier
Site Admin
Posts: 4513
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Help with restoring disk

#6 Post by cgrenier » 16 Nov 2018, 07:04

Previously your partition was listed as E:

Disk \\.\PhysicalDrive2 - 2000 GB / 1863 GiB - CHS 30400 255 63, sector size=4096 - WDC WD20 EURS-63S48Y0, S/N:152D20337A0C
Drive E: - 2000 GB / 1863 GiB - CHS 30400 255 63, sector size=4096 - WDC WD20 EURS-63S48Y0, S/N:152D20337A0C

Jimmy
Posts: 5
Joined: 11 Nov 2018, 13:21

Re: Help with restoring disk

#7 Post by Jimmy » 16 Nov 2018, 23:28

That is the one
So?

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests