Partition not write after reboot (screenshot+log included)

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
Vilens40
Posts: 6
Joined: 06 Apr 2016, 14:46

Partition not write after reboot (screenshot+log included)

#1 Post by Vilens40 »

Hi All,

I've been trying to get testdisk to write my partition for weeks now. I had an external USB hard drive that had a power supply give out. I took it out of the casing and connected it via SATA cable.

It immediately prompted me to reformat. After some research I came across Testdisk. I have analysed the disk many times and it can read the old partition and I can also copy most files from it. Unfortunately it's about 1.5TB and I'd much prefer to re-write the partition to be like it was. I have not gotten any notifications that the hard drive is bad.

It also worth noting I have no Anti Virus running and I am running TestDisk as an administrator (I'm an IT engineer).

After the multiple hour analyzation takes place I select write and am prompted to reboot. But nothing happens. It did write a small partition after the first time (See screenshot below). But the drive is still prompting for reformatting. What else should I be doing?

Image

Log below.
Tue Mar 29 21:38:38 2016
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)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=128035676160
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=250000000000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=250000000000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sde)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=128035676160
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=250000000000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=250000000000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive4)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=127795200000
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:)=629145600000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=375072489472
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\P:)=499994591232
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512
Disk /dev/sdb - 128 GB / 119 GiB - CHS 15566 255 63, sector size=512
Disk /dev/sdc - 250 GB / 232 GiB - CHS 30394 255 63, sector size=512
Disk /dev/sdd - 250 GB / 232 GiB - CHS 30394 255 63, sector size=512
Disk /dev/sde - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512
Drive C: - 127 GB / 119 GiB - CHS 15536 255 63, sector size=512
Drive E: - 629 GB / 585 GiB - CHS 76489 255 63, sector size=512
Drive F: - 375 GB / 349 GiB - CHS 45599 255 63, sector size=512
Drive P: - 499 GB / 465 GiB - CHS 60787 255 63, sector size=512

Partition table type (auto): Intel
Disk /dev/sde - 3000 GB / 2794 GiB
Partition table type: Intel

Analyse Disk /dev/sde - 3000 GB / 2794 GiB - CHS 364801 255 63
Geometry from i386 MBR: head=255 sector=63
Current partition structure:
1 * HPFS - NTFS 1 5 5 45600 251 27 732563456

search_part()
Disk /dev/sde - 3000 GB / 2794 GiB - CHS 364801 255 63
HPFS - NTFS 1 5 5 45600 251 27 732563456
exFAT, blocksize=1048576, 375 GB / 349 GiB
file_pread(8,2,buffer,1565566976(364801/98/34)) lseek err Invalid argument
file_pread(8,1,buffer,1565566976(364801/98/34)) lseek err Invalid argument
file_pread(8,1,buffer,1565566975(364801/98/33)) lseek err Invalid argument
file_pread(8,14,buffer,1565566977(364801/98/35)) lseek err Invalid argument
file_pread(8,3,buffer,1565566991(364801/98/49)) lseek err Invalid argument
file_pread(8,3,buffer,1565567038(364801/99/33)) lseek err Invalid argument
file_pread(8,8,buffer,1565567054(364801/99/49)) lseek err Invalid argument
file_pread(8,11,buffer,1565567101(364801/100/33)) lseek err Invalid argument
file_pread(8,2,buffer,1565569023(364801/131/2)) lseek err Invalid argument

Results
* HPFS - NTFS 1 5 5 45600 251 27 732563456
exFAT, blocksize=1048576, 375 GB / 349 GiB

interface_write()
1 * HPFS - NTFS 1 5 5 45600 251 27 732563456
write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
You will have to reboot for the change to take effect.

TestDisk exited normally.
Any advice would be tremendously appreciated. Thank you all.

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

Re: Partition not write after reboot (screenshot+log include

#2 Post by cgrenier »

Run TestDisk, select the disk, the partition table type, Advanced, select the partition, Boot, RebuildBS, List.
If you can see your files, choose Write, confirm, Quit and restart the computer.
If RebuildBS failed, you can always try PhotoRec but it will not recover the original filenames.

Vilens40
Posts: 6
Joined: 06 Apr 2016, 14:46

Re: Partition not write after reboot (screenshot+log include

#3 Post by Vilens40 »

Do I need to analyze first?

Vilens40
Posts: 6
Joined: 06 Apr 2016, 14:46

Re: Partition not write after reboot (screenshot+log include

#4 Post by Vilens40 »

I am receiving this...doesn't look good. Is there anything that can be done?

Image

Vilens40
Posts: 6
Joined: 06 Apr 2016, 14:46

Re: Partition not write after reboot (screenshot+log include

#5 Post by Vilens40 »

I'd also like to display this screenshot. It copies the first btach of files no problem but then hits to about 600+ then stays there With no progress.

Should I just leave it?

I'm truly desperate for assistance and will donate to the application if I can regain a majority of this folder.

Image

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

Re: Partition not write after reboot (screenshot+log include

#6 Post by cgrenier »

Do you have the same problem when using TestDisk 7.1-WIP ?

Vilens40
Posts: 6
Joined: 06 Apr 2016, 14:46

Re: Partition not write after reboot (screenshot+log include

#7 Post by Vilens40 »

cgrenier wrote:Do you have the same problem when using TestDisk 7.1-WIP ?

I'm suing Testdisk_WIN 7.0.

I saw the 7.1 is in Beta. Should I try that?

Vilens40
Posts: 6
Joined: 06 Apr 2016, 14:46

Re: Partition not write after reboot (screenshot+log include

#8 Post by Vilens40 »

When I use 7.1 every single file fails.

Also I get no option for rebuildBS only Org. BS.

Locked