Search found 4 matches

by nyanpasu64
21 Jan 2022, 14:23
Forum: File recovery
Topic: When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()
Replies: 7
Views: 9925

Re: When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()


Testdisk has a function to rebuild the boot sector. Could you try this function using your test image partitions?


(tl;dr skip to the bottom.)

Do you mean [Rebuild BS]? Putting it in a Boot menu isn't very discoverable (I've only used Analyse and Advanced -> Undelete before, not Advanced ...
by nyanpasu64
16 Jan 2022, 07:57
Forum: File recovery
Topic: When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()
Replies: 7
Views: 9925

Re: When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()

I already fixed my disk by running `echo -ne '\xeb\x58\x90' | sudo dd conv=notrunc bs=1 count=3 of=/dev/sdb1`, so I no longer need disk repair advice. Instead I'm reporting a bug where PhotoRec enters an infinite loop when unformatting this type of disk.

To test (and IMO disprove) your theory that ...
by nyanpasu64
15 Jan 2022, 11:41
Forum: File recovery
Topic: When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()
Replies: 7
Views: 9925

Re: When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()


photorec_find_blocksize() searches 10 known file header and use their location to guess the blocksize.
Locating 10 files should not be very long unless there are read errors or there was (almost) no file.


From what I could tell, photorec_find_blocksize() seemed to enter an infinite loop where ...
by nyanpasu64
10 Jan 2022, 05:36
Forum: File recovery
Topic: When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()
Replies: 7
Views: 9925

When trying to recover FAT32(?) filesystem, photorec hangs in photorec_find_blocksize()

I somehow "corrupted" (it's unreadable on Windows, but I later discovered it mounts fine on Linux) a FAT32 filesystem on an old hard drive. When trying to recover it in TestDisk, I got the message "No file found, filesystem may be damaged". Looking online I found https://forum.cgsecurity.org/phpBB3 ...