Flashdrive损坏的文件系统上的文本文件恢复 [英] Text file recovery on corrupted file system of Flashdrive

查看:126
本文介绍了Flashdrive损坏的文件系统上的文本文件恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够读取USB驱动器损坏的文件系统的原始数据。有没有简单的方法让我通过使用这些十六进制值来恢复文本和docx文件? (编程语言:C ++)

I am able to read raw data of the corrupted file system of USB drive. Is there any simple way for me to recover only text and docx files by using these Hexadecimal value? (Programming Language: C++)

推荐答案

不是真的 - 这是一个复杂的过程,我唯一一次做过它是在软盘时代 - 而且它在FAT死亡后,每兆字节需要大约一个小时才能恢复。闪存驱动器的问题更严重,因为它们不会覆盖使用过的块 - 而是写入一个新块并在内部放置一个可删除列表的旧块(因为它们磨损的越多,你写入它们) - 所以你结束了多个块看起来非常非常相似,因此您必须确切地确定每个块所需的版本。如果你很幸运,你可以从向后开始工作,直到闪光灯满了,早期的积木不能回收。



我想做什么从 Recuva [ ^ ] - 我过去曾经有过一些很好的成功,它是免费的!
Not really - it's a complicated process, and the only time I've ever done it was in the floppy disk days - and it took about an hour per megabyte to restore after the FAT died. The problem is worse with flash drives, because they don't overwrite used blocks - instead they write to a new block and put the old one of a deletable list internally (because they wear out the more you write to them) - so you end up with multiple blocks that look very, very similar, so you have to work out exactly which version is the one you need for each block. If you are lucky, you can get away with working from the "end backwards" as until the flash is full the early blocks aren't recycled.

What I would do is start with solthing like Recuva[^] - I've had some good sucess with it in the past, and it's free!


另一个解决方案有点复杂但功能是,用MS-DOS或FREEDOS创建一个虚拟机,将你的磁盘作为模拟的本地硬盘附加。

那么你可以使用DOS的任何恢复/修复工具: - )
Another solution a little bit complicate, but functional, is to create a virtual machine with MS-DOS or FREEDOS, attach your disk as an emulated local hard disk.
Then you can use any restore/repair tool for DOS :-)


首先,您需要解析文件系统(我假设它是标签中的fat32)。实际上你需要解析文件分配表(如果它已经损坏并且在你的驱动器上启用了FAT的镜像副本,那么你可以尝试使用它。)
First of all you will need to parse the file system (i assume it's fat32 from the tags). In fact you will need to parse File Allocation Table (if it's corrupted and mirror copy of FAT was enabled on your drive, then you can try with it).


这篇关于Flashdrive损坏的文件系统上的文本文件恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆