有没有办法挂载旧的 .img 文件,该文件很可能是为 Linux 上的 MS-DOS 制作的 CD-ROM 的副本?所有尝试均已失败。file
将其视为“数据”,fdisk -l
仅表示
646,75 MiB, 678163456 bytes, 1324538 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
使用 mount -oloop 和 mount -oloop,offset=512 进行安装失败。我可以使用 losetup 将其安装到任何 /dev/loop-device,但我无法将其安装在任何地方。对于安装我得到输出
wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
dmseg 告诉我
[39452.042543] loop0: detected capacity change from 0 to 1324537
[39452.051688] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[39452.051889] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[39452.051986] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[39452.052096] FAT-fs (loop0): bogus number of reserved sectors
[39452.052100] FAT-fs (loop0): Can't find a valid FAT filesystem
我可以做什么来访问内容?
我的文件采用酒精 120% 专有格式,称为MDF。
我找到了工具mdf2iso(本机 Linux CLI 工具)来将映像转换为 ISO,然后我可以挂载它。