Page 1 of 1

OS not found

Posted: 18 Jan 2017, 09:44
by dimmi
Hi,
I have win10 computer with 2 hard drives attached, 1tb each. One of the drives, c:, has a fresh install of win 10.
The other drive, e:, has all my files, photos, videos etc. It has win10 also but it does not boot. It says no os found.
Here is the testdisk log:



Mon Jan 16 14:48:57 2017
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
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(\\.\PhysicalDrive0)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=999731229184
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=2048
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=999258321408
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Drive C: - 999 GB / 931 GiB - CHS 121543 255 63, sector size=512
Drive D: - 2048 B - CHS 1 64 32, sector size=2048
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63, sector size=512

Partition table type (auto): None
Drive E: - 999 GB / 930 GiB
Partition table type: Intel

Analyse Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
Geometry from i386 MBR: head=102 sector=52
BAD_RS LBA=1920221984 1286028
check_part_i386 1 type 72: no test
BAD_RS LBA=1936028192 5737917
check_part_i386 2 type 6C: no test
Current partition structure:
1 P Sys=72 119528 74 3 232582 38 44 1816210284

Bad relative sector.
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

Bad relative sector.
Space conflict between the following two partitions
1 P Sys=72 119528 74 3 232582 38 44 1816210284
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

search_part()
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
BAD_RS LBA=2970170452 4294967295
check_part_i386 failed for partition type 07
HPFS - NTFS 184884 142 47 233635 105 33 783182471
This partition ends after the disk limits. (start=2970170452, size=783182471, end=3753352922, disk end=1951676409)
BAD_RS LBA=2673688576 10709
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type 01
FAT12 166429 106 14 398136 79 62 3722371303
This partition ends after the disk limits. (start=2673688576, size=3722371303, end=6396059878, disk end=1951676409)
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (999 GB / 930 GiB) seems too small! (< 3274 GB / 3049 GiB)
The following partitions can't be recovered:
FAT12 166429 106 14 398136 79 62 3722371303
HPFS - NTFS 184884 142 47 233635 105 33 783182471

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
Geometry from i386 MBR: head=102 sector=52
BAD_RS LBA=1920221984 1286028
check_part_i386 1 type 72: no test
BAD_RS LBA=1936028192 5737917
check_part_i386 2 type 6C: no test
1 P Sys=72 119528 74 3 232582 38 44 1816210284
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

Analyse Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
Geometry from i386 MBR: head=102 sector=52
BAD_RS LBA=1920221984 1286028
check_part_i386 1 type 72: no test
BAD_RS LBA=1936028192 5737917
check_part_i386 2 type 6C: no test
Current partition structure:
1 P Sys=72 119528 74 3 232582 38 44 1816210284

Bad relative sector.
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

Bad relative sector.
Space conflict between the following two partitions
1 P Sys=72 119528 74 3 232582 38 44 1816210284
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

search_part()
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
Search for partition aborted

Results

interface_write()

No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
New options :
Dump : No
Align partition: Yes
Expert mode : No

Analyse Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
Geometry from i386 MBR: head=102 sector=52
BAD_RS LBA=1920221984 1286028
check_part_i386 1 type 72: no test
BAD_RS LBA=1936028192 5737917
check_part_i386 2 type 6C: no test
Current partition structure:
1 P Sys=72 119528 74 3 232582 38 44 1816210284

Bad relative sector.
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

Bad relative sector.
Space conflict between the following two partitions
1 P Sys=72 119528 74 3 232582 38 44 1816210284
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

search_part()
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
BAD_RS LBA=2970170452 4294967295
check_part_i386 failed for partition type 07
HPFS - NTFS 184884 142 47 233635 105 33 783182471
This partition ends after the disk limits. (start=2970170452, size=783182471, end=3753352922, disk end=1951676409)
BAD_RS LBA=2673688576 10709
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type 01
FAT12 166429 106 14 398136 79 62 3722371303
This partition ends after the disk limits. (start=2673688576, size=3722371303, end=6396059878, disk end=1951676409)
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (999 GB / 930 GiB) seems too small! (< 3274 GB / 3049 GiB)
The following partitions can't be recovered:
FAT12 166429 106 14 398136 79 62 3722371303
HPFS - NTFS 184884 142 47 233635 105 33 783182471

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()
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
BAD_RS LBA=2970170452 4294967295
check_part_i386 failed for partition type 07
HPFS - NTFS 184884 142 47 233635 105 33 783182471
This partition ends after the disk limits. (start=2970170452, size=783182471, end=3753352922, disk end=1951676409)
BAD_RS LBA=2673688576 10709
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type 01
FAT12 166429 106 14 398136 79 62 3722371303
This partition ends after the disk limits. (start=2673688576, size=3722371303, end=6396059878, disk end=1951676409)
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (999 GB / 930 GiB) seems too small! (< 3274 GB / 3049 GiB)
The following partitions can't be recovered:
FAT12 166429 106 14 398136 79 62 3722371303
HPFS - NTFS 184884 142 47 233635 105 33 783182471

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
Partition table type (auto): None
Drive E: - 999 GB / 930 GiB
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=102 sector=52
BAD_RS LBA=1920221984 1286028
check_part_i386 1 type 72: no test
BAD_RS LBA=1936028192 5737917
check_part_i386 2 type 6C: no test
1 P Sys=72 119528 74 3 232582 38 44 1816210284
2 * Sys=6C 120512 46 15 242121 118 1 1953653108

Interface Advanced
Geometry from i386 MBR: head=102 sector=52
BAD_RS LBA=1920221984 1286028
check_part_i386 1 type 72: no test
BAD_RS LBA=1936028192 5737917
check_part_i386 2 type 6C: no test
1 P Sys=72 119528 74 3 232582 38 44 1816210284
2 * Sys=6C 120512 46 15 242121 118 1 1953653108
Change partition type:
1 P Sys=72 119528 74 3 232582 38 44 1816210284
Change partition type:
1 P Sys=72 119528 74 3 232582 38 44 1816210284
Change partition type:
2 * Sys=6C 120512 46 15 242121 118 1 1953653108
New options :
Dump : No
Align partition: Yes
Expert mode : No
Partition table type (auto): None
SIGHUP detected! TestDisk has been killed.

Re: OS not found

Posted: 18 Jan 2017, 22:41
by cgrenier
It's useless to search partitions inside the partition E:.
When starting TestDisk, select PhysicalDisk1

Re: OS not found

Posted: 18 Jan 2017, 23:08
by dimmi
Thank you,

At "select the partition type" it defaults to "none" but on the bottom it says "do NOT select "none".
What should I select?

Re: OS not found

Posted: 18 Jan 2017, 23:16
by dimmi
Also,
at "select a media" I get the following:
disk /dev/sda - 1000gb /931 GiB
disk /dev/sda - 1000gb /931 GiB
drive c: -999GB /931 GiB
Drive e: -999 GB /930 Gib

C: is the good drive
E: is the damaged one

There is no "physicalDisk1" option

Re: OS not found

Posted: 19 Jan 2017, 18:04
by dimmi
He is the right disk:



Thu Jan 19 04:17:42 2017
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
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)=16005464064
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)=16005464064
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=999731229184
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:)=999258321408
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=0
Fix disk size using CHS
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Disk /dev/sdc - 16 GB / 14 GiB - CHS 1945 255 63, sector size=512
Drive C: - 999 GB / 931 GiB - CHS 121543 255 63, sector size=512
Drive E: - 999 GB / 930 GiB - CHS 121486 255 63, sector size=512
Drive F: - 15 GB / 14 GiB - CHS 1945 255 63, sector size=512

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

Analyse Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
check_part_i386 2 type 27: no test
Current partition structure:
1 P HPFS - NTFS 0 32 33 121486 93 8 1951676409
2 * Windows RE(store) 121486 93 16 121543 186 51 921600

search_part()
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63
NTFS at 0/32/33
filesystem size 1951676409
sectors_per_cluster 8
mft_lcn 736082
mftmirr_lcn 81144119
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 32 33 121486 93 8 1951676409
NTFS, blocksize=4096, 999 GB / 930 GiB
NTFS at 121486/93/16
filesystem size 921600
sectors_per_cluster 8
mft_lcn 38400
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 121486 93 16 121543 186 51 921600
NTFS, blocksize=4096, 471 MB / 450 MiB
file_pread(4,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(4,1,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(4,1,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(4,14,buffer,1953525761(121601/90/27)) lseek err Invalid argument
file_pread(4,3,buffer,1953525775(121601/90/41)) lseek err Invalid argument
file_pread(4,3,buffer,1953525822(121601/91/25)) lseek err Invalid argument
file_pread(4,8,buffer,1953525838(121601/91/41)) lseek err Invalid argument
file_pread(4,11,buffer,1953525885(121601/92/25)) lseek err Invalid argument
file_pread(4,2,buffer,1953527807(121601/122/57)) lseek err Invalid argument

Results
* HPFS - NTFS 0 32 33 121486 93 15 1951676416
NTFS, blocksize=4096, 999 GB / 930 GiB
P HPFS - NTFS 121486 93 16 121543 186 51 921600
NTFS, blocksize=4096, 471 MB / 450 MiB

interface_write()
1 * HPFS - NTFS 0 32 33 121486 93 15 1951676416
2 P HPFS - NTFS 121486 93 16 121543 186 51 921600