Can someone tell me how to fix partition boundaries and MBR

How to use TestDisk to recover lost partition
Post Reply
Message
Author
invalid
Posts: 1
Joined: 12 Jul 2013, 11:49

Can someone tell me how to fix partition boundaries and MBR

#1 Post by invalid » 12 Jul 2013, 19:08

My notebook used to have this /dev/sdb (1TB HDD, with C: on the first 292.97 GB, i.e. /dev/sdb1). It was encrypted and got corrupt.
Then I installed OS on /dev/sda (500GB disk, my C: drive is sda1, 270 GB) and ran TestDisk on decrypted /dev/sdb (it maybe caused more damage, but there's no way to read anything if one doesn't decrypt the disk). Now the partition (sdb1) is reported as RAW. The rest (600GB) was unallocated, by the way, so there's nothing behind sdb1 until the end of HDD.

I can't understand the output. I'd like to know if it's possible - and how - to recover /dev/sdb1 (it's NTFS) so that I can mount it. I tried to use another "extracting" tool and to read chunks of data from /dev/sdb1 and it did come up with some files and images (but few), so I think maybe there's a way to extract more.

In Windows disk manager I can see the first partition on /dev/sdb1, it's 292.97 GB, while the rest is 638.54 GB.
Here in output I don't quite understand what to do.

===
Fri Jul 12 22:34:16 2013
Command line: TestDisk

Failed to startup volume: Invalid argument.
TestDisk 6.14-WIP, Data Recovery Utility, May 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.7, Cygwin 1007.17
Compilation date: 2013-07-09T07:38:49
ext2fs lib: 1.42.2, 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)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=270467620864
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - TOSHIBA MK5061GSY, S/N:X 71BKF1BX, FW:MC10
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST1000LM 014-1EJ164, S/N:3W08R2JS, FW:SM11

Partition table type (auto): Intel
Disk /dev/sdb - 1000 GB / 931 GiB - ST1000LM 014-1EJ164
Partition table type: Intel
New options :
Dump : No
Align partition: Yes
Expert mode : No

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 07
1 * HPFS - NTFS 0 32 33 38244 194 14 614400048
Not an exFAT boot sector.

1 * HPFS - NTFS 0 32 33 38244 194 14 614400048
Can't open filesystem. Filesystem seems damaged.

Analyse Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 07
Current partition structure:
Invalid NTFS or EXFAT boot
1 * HPFS - NTFS 0 32 33 38244 194 14 614400048
1 * HPFS - NTFS 0 32 33 38244 194 14 614400048

search_part()
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
BAD_RS LBA=2371767682 1447940
file_pread(5,1,buffer,2371767682(147635/181/5)) lseek err Invalid argument
check_part_i386 failed for partition type 07
HPFS - NTFS 147635 181 5 279654 157 59 2120883778
This partition ends after the disk limits. (start=2371767682, size=2120883778, end=197684163, disk end=1953525168)
BAD_RS LBA=770812005 15577822
file_pread(5,3,buffer,770812005(315330/45/17)) lseek err Invalid argument
file_pread(5,1,buffer,770812005(315330/45/17)) lseek err Invalid argument
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type 01
FAT12 315330 45 17 399968 17 24 1359707714
This partition ends after the disk limits. (start=770812005, size=1359707714, end=2130519718, disk end=1953525168)
file_pread(5,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(5,1,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(5,1,buffer,1953525759(121601/90/25)) lseek err Invalid argument
file_pread(5,14,buffer,1953525761(121601/90/27)) lseek err Invalid argument
file_pread(5,3,buffer,1953525775(121601/90/41)) lseek err Invalid argument
file_pread(5,3,buffer,1953525822(121601/91/25)) lseek err Invalid argument
file_pread(5,8,buffer,1953525838(121601/91/41)) lseek err Invalid argument
file_pread(5,11,buffer,1953525885(121601/92/25)) lseek err Invalid argument
file_pread(5,2,buffer,1953527807(121601/122/57)) lseek err Invalid argument
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (1000 GB / 931 GiB) seems too small! (< 3289 GB / 3063 GiB)
The following partitions can't be recovered:
HPFS - NTFS 147635 181 5 279654 157 59 2120883778
FAT12 315330 45 17 399968 17 24 1359707714

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.

Sponsored links

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests