小编bmc*_*cws的帖子

恢复 dd 读取错误,跳过/寻找数字

我正在尝试使用以下命令从损坏的 CD 上复制数据:

dd if=/dev/sr1 of=IDT.img conv=sync,noerror status=progress

但是,“of”设备断开连接,dd 停止(输出如下)。

...
dd: error reading '/dev/sr1': Input/output error
1074889+17746 records in
1092635+0 records out
559429120 bytes (559 MB, 534 MiB) copied, 502933 s, 1.1 kB/s
dd: writing to 'IDT.img': Input/output error
1074889+17747 records in
1092635+0 records out
559429120 bytes (559 MB, 534 MiB) copied, 502933 s, 1.1 kB/s
Run Code Online (Sandbox Code Playgroud)

我可以继续:

dd if=/dev/sr1 of=IDT.img conv=sync,noerror status=progress seek=1092635 skip=1092635

或者搜索/跳过数字应该是两个1092636,还是跳过/搜索彼此不同,或者完全不同?

PS 我知道我可能为此使用了错误的命令,例如 ddrescue 可能更好。但我现在可能被 dd 困住了(?)。我不希望在输出文件方面出现更多错误。

linux dd

3
推荐指数
2
解决办法
463
查看次数

标签 统计

dd ×1

linux ×1