Running TestDisk v7.0 with RebuildBS in Windows just eventually crashes. The 'stackdump' shows an access_violation. In Linux, running TestDisk v6.13, RebuildBS does nothing at all. I also tried copying over the boot sector from one disk to the other and it didn't work. Ha.
LOG:
Sat Aug 15 20:23:01 2015
Command line: TestDisk
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <
grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
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)=5122252800
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=180045766656
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)=5122252800
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=180045766656
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=1000204886016
filewin32_getfilesize(\\.\PhysicalDrive4) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\PhysicalDrive4) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\PhysicalDrive4
filewin32_getfilesize(\\.\PhysicalDrive5) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\PhysicalDrive5) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\PhysicalDrive5
filewin32_getfilesize(\\.\PhysicalDrive6) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\PhysicalDrive6) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\PhysicalDrive6
filewin32_getfilesize(\\.\PhysicalDrive7) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\PhysicalDrive7) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\PhysicalDrive7
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=21369978880
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.
filewin32_setfilepointer(\\.\E:) SetFilePointer err Incorrect function.
Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=0
Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=0
Warning: can't get size for \\.\H:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=0
Warning: can't get size for \\.\I:
Hard disk list
Disk /dev/sda - 5122 MB / 4884 MiB - CHS 138950 18 4, sector size=512
Disk /dev/sdb - 180 GB / 167 GiB - CHS 21889 255 63, sector size=512
Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Drive C: - 21 GB / 19 GiB - CHS 2598 255 63, sector size=512
Partition table type default to Intel
Disk /dev/sdc - 1000 GB / 931 GiB
Partition table type: None
New options :
Dump : No
Align partition: Yes
Expert mode : Yes
Interface Advanced
P Unknown 0 0 1 121601 80 63 1953525168
Change partition type:
P NTFS 0 0 1 121601 80 63 1953525168
ntfs_boot_sector
P NTFS 0 0 1 121601 80 63 1953525168
filesystem size 1208516115580653324 1
sectors_per_cluster 124 0
mft_lcn 416149986 0
mftmirr_lcn 85018310 0
clusters_per_mft_record -76 0
clusters_per_index_record 85 0
Boot sector
Status: Bad
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.
2 [main] testdisk_win 3248 cygwin_exception::open_stackdumpfile: Dumping stack trace to testdisk_win.exe.stackdump
Stackdump:
Exception: STATUS_ACCESS_VIOLATION at eip=0043E5A6
eax=00000000 ebx=800B6A68 ecx=0028B88C edx=E1D8B058 esi=46381BF7 edi=00000000
ebp=800B6718 esp=0028B200 program=C:\Users\AMD\Desktop\testdisk-7_0_win\testdisk-7.0\testdisk_win.exe, pid 3448, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
End of stack trace