我知道我的问题与此站点上的许多其他问题非常相似(例如,从整个磁盘(设备)的映像挂载单个分区)但是在挂载磁盘映像内的单个分区(制作使用我的 MAC 的 dd)。
在尝试挂载它之前,我列出了磁盘映像中的所有分区,并读取了该分区的偏移量。然后我尝试使用以下命令挂载单个分区,但总是得到相同的错误:
sudo mount -t hfsplus -o loop,ro,offset=209735680 /media/dati/mac.dmg /media/mac
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg |tail
[ 8454.285256] hfs: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only.
[ 8512.103020] hfs: invalid secondary volume header …
Run Code Online (Sandbox Code Playgroud)