如果没有识别分区,如何安装 ddrescue 映像?

如果没有识别分区,如何安装 ddrescue 映像?

在 macOS Ventura 13.1 上,我通过 ddrescue 成功拯救了损坏的、无法安装的磁盘 (Mac OS Extended (Journaled)):

ddrescue -v -f -n /dev/disk3s2 /Volumes/emptyhd/hd.dmg ~/logfile.log

几天后,我在终端中收到了“完成”的提示:

Current status
     ipos:  654704 kB, non-trimmed:        0 B,  current rate:       0 B/s
     opos:  654704 kB, non-scraped:    35840 B,  average rate:  14775 kB/s
non-tried:        0 B,  bad-sector:     1024 B,    error rate:     512 B/s
  rescued:   11999 GB,   bad areas:        2,        run time:  8d  1h 55m
pct rescued:    0.00%, read errors:        2,  remaining time:         n/a
                              time since last successful read:          0s
Finished       

双击 DMG 不起作用(弹出“无法识别”的提示)。我还尝试使用以下命令安装映像: hdiutil attach -imagekey diskimage-class=CRawDiskImage /Volumes/emptyhd/hd.dmg --> 不起作用。

然后我使用以下命令附加图像文件: hdiutil attach -nomount /Volumes/emptyhd/hd.dmg

然后 diskutil list 输出

/dev/disk3 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                                                   +12.0 TB    disk3

带输出的图像信息hdiutil imageinfo /Volumes/emptyhd/hd.dmg

Class Name: CRawDiskImage
Size Information:
    Total Bytes: 11999760071680
    Compressed Ratio: 1
    Sector Count: 23437031390
    Total Non-Empty Bytes: 11999760071680
    Compressed Bytes: 11999760071680
    Total Empty Bytes: 0
Checksum Type: none
Format: UDRW
partitions:
    partition-scheme: none
    block-size: 512
    appendable: false
    partitions:
        0:
            partition-name: whole disk
            partition-start: 0
            partition-synthesized: true
            partition-length: 23437031390
            partition-hint: unknown partition
    burnable: false
Format Description: raw read/write
Checksum Value: 
Properties:
    Encrypted: false
    Kernel Compatible: true
    Checksummed: false
    Software License Agreement: false
    Partitioned: false
    Compressed: no
Segments:
    0: /Volumes/DATA16TB/movies.dmg
Backing Store Information:
    URL: file:///Volumes/DATA16TB/movies.dmg
    Name: movies.dmg
    Class Name: CBSDBackingStore
Resize limits (per hdiutil resize -limits):
 min     cur     max 
23437031390 23437031390 23437031390

那么我该如何从这里继续访问我的 dd IMG 中的数据?

相关内容