我父亲上个月去世了,我正试图从他留在办公室的一些旧 CD-R 中恢复一些照片。它们似乎是用 Roxio Easy CD-Creator 刻录的。它可以刻录磁盘的 udf 和 iso9660 部分。
我正在运行最新的 Ubuntu 16.04 LTS,当我插入 CD 时,出现以下错误:
Unable to mount 692 MB Volume
Error mounting /dev/sr0 at /media/kris/disk1: Command-line `mount -t "udf" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8" "/dev/sr0" "/media/kris/disk1"' exited with non-zero exit status 32: mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0: 无法读取超级块
我能够使用以下命令打开 iso9660 部分:
sudo mount -t iso9660 /dev/cdrom /media/kris/disk/
返回:
mount: /dev/sr0 is write-protected, mounting read-only
/media/kris/disk 显示来自 Roxio 的文件,可让您在旧的 Windows 95/NT 机器上安装 UDF 阅读器。
当我尝试使用 udf 安装它时,出现以下信息:
sudo mount -t udf /dev/cdrom /media/kris/disk/
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0: can't read superblock
dmesg 返回以下内容:
[ 61.555308] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 95.733244] sr 1:0:0:0: [sr0] tag#24 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 95.733254] sr 1:0:0:0: [sr0] tag#24 Sense Key : Medium Error [current]
[ 95.733259] sr 1:0:0:0: [sr0] tag#24 Add. Sense: L-EC uncorrectable error
[ 95.733265] sr 1:0:0:0: [sr0] tag#24 CDB: Read(10) 28 00 00 05 28 9e 00 00 01 00
[ 95.733268] blk_update_request: I/O error, dev sr0, sector 1352312
[ 95.733324] UDF-fs: error (device sr0): udf_read_tagged: read failed, block=338078, location=338078
[ 102.152782] sr 1:0:0:0: [sr0] tag#27 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 102.152790] sr 1:0:0:0: [sr0] tag#27 Sense Key : Medium Error [current]
[ 102.152795] sr 1:0:0:0: [sr0] tag#27 Add. Sense: L-EC uncorrectable error
[ 102.152800] sr 1:0:0:0: [sr0] tag#27 CDB: Read(10) 28 00 00 05 27 9e 00 00 01 00
[ 102.152804] blk_update_request: I/O error, dev sr0, sector 1351288
[ 102.152844] UDF-fs: error (device sr0): udf_read_tagged: read failed, block=337822, location=337822
[ 277.770836] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 328.362451] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 337.322417] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 481.091348] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 661.191163] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 822.936430] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 1309.910824] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 1354.450627] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
[ 1537.512308] UDF-fs: Failed to read VAT inode from the last recorded block (338076), retrying with the last block of the device (338078).
我这里有一堆这些东西,我真的很想从中获取数据。任何帮助我都感激不尽。
答案1
首先,我对您的损失表示歉意。
我找到了两个可能的答案,但它们看起来与您已经完成的答案类似,只是代码略有不同。第一个在这里找到:
该命令如下所示:
sudo mount -t udf /dev/sr0 /cdrom
这个看起来比你所拥有的更简单,第二个看起来更像你的代码,第二个在这里找到:
http://ubuntuforums.org/showthread.php?t=1095717
代码如下:
sudo mount -t iso9660,udf /dev/xxx /yyy/zzz
其中 xxx 是您的 DVD(您可以使用系统 -> 管理 -> 磁盘实用程序进行检查)并且 /yyy/zzz 是您想要挂载文件的位置。
我可能会尝试:
sudo mount -t iso9660,udf /dev/sr0 /cdrom
为了使其更简单。
您最后的努力可能是去 Kinkos(如果在美国)并租用他们的一台 Windows 机器(我可能过时了,但似乎几年前他们就有这样的系统。)然后在那里打开磁盘。
如果您确定它们是照片,CVS 有打开图片 CD 以及打印图片的设备,甚至 Costco 或 Sams club 也可以做同样的事情。
我祝你一切顺利,你并不孤单,我的谷歌搜索带来了很多类似的问题和答案。
克里斯
答案2
遇到了与 Mac 光盘相同的情况。最后通过以下方式解决如何读取损坏的光盘. 命令及输出:
sudo dd if=/dev/sr0 of=cd.img
[sudo] password for glenn: dd: error reading '/dev/sr0': Input/output error 197960+0 records in 197960+0 records out 101355520 bytes (101 MB, 97 MiB) copied, 39.3302 s, 2.6 MB/s
打开图像,所有 jpeg 均恢复正常!