恢复硬盘数据 [英] recovering a hard disk data

查看:135
本文介绍了恢复硬盘数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个硬盘,dd可以从中读取一些块,并且在大约7.2MB的读取后它会失败。然后即使从第一次再次读取它也会失败。我不知道在此之后发生了什么导致我拔下硬盘并重新插上它。但这次不能继续。我没有找到dd从失败的地方开始的选项。它从第一个开始并导致相同的结果。

为此,我想写一个程序来读取硬盘驱动器的绝对扇区,无论它的文件系统如何,无论它是否是一个块设备。我想写一个程序,从扇区读取hdd扇区,并写入另一个(我是一个免费的硬盘)我读过的扇区。程序可以输出它可以读取的扇区并可以重试。它可能来自哪个部门。这是一个严格的手动过程,但我的数据值得。

为此,我需要知道如何才能在Linux下执行此操作。如果C#可能是更好的选择,我将使用这种语言在Windows中编写程序。但我也不知道如何在C#中做到这一点。

我记得当我们在DOS编程时,有absread和abswrite函数。我现在不知道该怎么做。

解决方案

什么也搞砸了你的分区是BitLockered。使用安装在驱动器上的O / S之外的程序是没用的。分区的每个扇区都是加密的,你没有希望解密它。



你必须使用在安装的操作系统运行时才能工作的东西。没有一段代码可以编写,比商业工具做得更好。我知道你要做的是什么,这是没有意义的,因为生成的磁盘映像将无法使用。由于您使用的工具在操作开始时已经停止,您不知道驱动器中有多少漏洞,也不知道数据是否仍然完整。



说真的,如果数据值那么多,请使用商业数据恢复服务。这真的很贵,所以你必须自己打电话。


因为驱动器是使用BitLocker加密的,所以到目前为止讨论的方法都行不通。但您可以尝试 Microsoft BitLocker修复工具 [ ^ ]可以恢复部分yor文件。

there's a hard disk from which dd can read some blocks and it fails after about 7.2MB of read. then it fails even if it reads again from first. i don't know what happens after this that causes me to unplug the hard disk and plug it again. but this time can't continue. i didn't find an option for dd to begin from where it had failed. it begins from the first and leads to the same result.
for this, i thought to write a program to read absolute sectors from the hdd regardless of its file system and regardless of whether it's a block device. i thought to write a program to read from the hdd sector by sector and write to another one (i've a free hdd) the sectors i've read. the program may output which sectors it could read and may retries. it may get from which sector it begins. it's a sever manual process, but my data worth.
for this, i need to know how can i do this preferably under linux. if C# maybe a better choice, i will write the program in Windows with this language. but i don't know also how to do it in C# too.
i remember when we were programming in DOS, there were absread and abswrite functions. i don't know how to do it nowadays.

解决方案

What's also screwing you over is the partition is BitLockered. Using a program outside of the O/S that's installed on the drive is useless. Every sector of the partition is encrypted and you have no hope of decrypting it.

You have to use something that will work while the installed O/S is running. There is no piece of code that you can write that's going to do a better job than the commercial tools. I know what you're trying to do and it's pointless as the resulting disk image will be unusable. Since the tools you've used have stopped near the beginning of the operation, you have no idea who many "holes" are in the drive and no idea if the data is still intact.

Seriously, if the data is worth that much, use a commercial data recovery service. It's really expensive so you have to make that call yourself.


Because the drive is encrypted using BitLocker, the so far discussed methods won't work. But you can try if the Microsoft BitLocker Repair Tool[^] can restore some of yor files.


这篇关于恢复硬盘数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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