我有一张音频 CD(几年前烧毁),我想将其翻录(使用K3B
或其他方式)到flac
.K3B
无法完成,我意识到 CD 已损坏。
safecopy
我设法用参数恢复数据--stage-1-3
。从输出(见下文)来看,数据似乎已正确恢复。
但是,我希望能够挂载该文件并从那里获取它。不幸的是,情况似乎并非如此:
$ sudo mount -o loop -t iso9660 diskimage /media/cdrom1/
mount: block device /mnt/data/Bureau/diskimage is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg
没有显示太多有用的输出:
$ dmesg | tail
ISOFS: Unable to identify CD-ROM format.
事实上,它似乎是一种无法识别的格式:
$ file diskimage
diskimage: data
毫不奇怪,将文件重命名为.iso
、.raw
、.img
或.bin
没有任何区别。
网上有人推荐使用,ccd2iso
但也失败了( Unrecognized sector mode (0) at sector 0!
)。
我怎样才能继续从这个原始数据转储中提取音频?
这是 的输出safecopy
。是stage3.badblocks
空的。
$ safecopy /dev/sr0 diskimage --stage1
Low level device calls enabled mode: 2
Reported hw blocksize: 4096
CDROM audio - low level access: drive reset, raw read
CDROM low level disk size: 784954128
CDROM low level block size: 2352
Reported low level blocksize: 2352
File size: 784954128
Blocksize: 2352
Fault skip blocksize: 78493296
Resolution: 78493296
Min read attempts: 1
Head moves on read error: 0
Badblocks output: stage1.badblocks
Marker string: BaDbLoCk
Starting block: 0
Source: /dev/sr0
Destination: diskimage
......................................... [40961]
......................................... [82945]
......................................... [124929]
......................................... [166913]
......................................... [208897]
......................................... [250881]
................................[284577](+669325104){X [317950]
}[317950](+78493296)
................[333739](+37135728){X}[367112](+78493296)
Done!
Recovered bad blocks: 0
Unrecoverable bad blocks (bytes): 2 (156986592)
Blocks (bytes) copied: 333739 (784954128)
xavier@marvin:~/Bureau$ safecopy /dev/sr0 diskimage --stage2
Low level device calls enabled mode: 2
Reported hw blocksize: 4096
CDROM audio - low level access: drive reset, raw read
CDROM low level disk size: 784954128
CDROM low level block size: 2352
Reported low level blocksize: 2352
File size: 784954128
Blocksize: 2352
Fault skip blocksize: 301056
Resolution: 2352
Min read attempts: 1
Head moves on read error: 0
Incremental mode file: stage1.badblocks
Incremental mode blocksize: 2352
Badblocks output: stage2.badblocks
Starting block: 0
Source: /dev/sr0
Destination: diskimage
Current destination size: 863447424
........................[309047](+726878544){X [309175]
<<<<<<<}[309048](+2352)
.....[313338](+10090080){X<<<<<<<}[313339](+2352)
..... 8-( 95%
Done!
Recovered bad blocks: 0
Unrecoverable bad blocks (bytes): 2 (4704)
Blocks (bytes) copied: 317950 (747818400)
$ safecopy /dev/sr0 diskimage --stage3
Low level device calls enabled mode: 2
Reported hw blocksize: 4096
CDROM audio - low level access: drive reset, raw read
CDROM low level disk size: 784954128
CDROM low level block size: 2352
Reported low level blocksize: 2352
File size: 784954128
Blocksize: 2352
Fault skip blocksize: 2352
Resolution: 2352
Min read attempts: 4
Head moves on read error: 1
Incremental mode file: stage2.badblocks
Incremental mode blocksize: 2352
Badblocks output: stage3.badblocks
Starting block: 0
Source: /dev/sr0
Destination: diskimage
Current destination size: 863447424
. 8-( 93%
Done!
Recovered bad blocks: 0
Unrecoverable bad blocks (bytes): 0 (0)
Blocks (bytes) copied: 313339 (736973328)
答案1
我也遇到了类似的问题,我希望恢复在我的 CD 播放器中开始跳动的 CD。我在网上搜索寻找答案,但没有结果。但经过实验,我发现您可以将恢复的文件作为原始数据导入 Audacity。然后您可以根据需要分离轨道并重新编码。